I run a site using Joomla. Backed up to localhost running WAMP, and I have problems with .htaccess. Site is located in /www/sitename/
First, I had to comment out IndexIgnore *
to get the site to load at all.
Now, it loads, but if I enable url rewriting, any local link I click on displays a page with my WAMP configuration.
My .htaccess is
Options +FollowSymlinks
Options -Indexes
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\)
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
RewriteBase /
RewriteRule .* index.php [L]
The url is localhost/sitename