Skip to content

Default .htaccess file is under-optimized and missing a RewriteBase directive #29

Open
solarphp opened this Issue Nov 28, 2010 · 0 comments

1 participant

@solarphp

e.g.

RewriteBase /~denis/solar/docroot

... for a site installed in that url.

Also, the htaccess file could use some optimization... Here's a better one, with background information:

RewriteEngine On
RewriteBase /
RewriteRule ^favicon\.ico - [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [S=1]
RewriteRule . index.php [PT]

https://trac.habariproject.org/habari/ticket/1188

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.