I created a .htaccess with the following lines in it but the problem is when i change RewriteBase from / to
/mydomain a Internal Server Error comes up when viewing the site. I am runing WAMP on a windows XP machine any ideas as to why this is happening. I also have the following in my httpd.config
.htaccess
Options +FollowSymlinks
RewriteEngine On
RewriteBase /mydomain
# Fix Apache internal dummy connections from breaking [(site_url)] cache
RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule .* - [F,L]
# Rewrite mydomain.com -> www.mydomain.com -- used with SEO Strict URLs plugin
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com [NC]
RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]
# Exclude /assets and /manager directories from rewrite rules
RewriteRule ^(manager|assets) - [L]
# For Friendly URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC]
# Reduce server overhead by enabling output compression if supported.
php_flag zlib.output_compression On
php_value zlib.output_compression_level 5
httpd.conf
<Directory />
Options FollowSymLinks
AllowOverride all
</Directory>
<Directory "C:/inetpub/www/mydomain">
Options Indexes FollowSymLinks
AllowOverride all
</Directory>