Skip to content

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

solarphp opened this Issue Nov 28, 2010 · 0 comments

1 participant



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]

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.