atticus Posted April 14, 2009 Share Posted April 14, 2009 Does anyone know why this snippet of code in my .htaccess file would throw a 500 internal error? RewriteBase /spyshop/ RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /spyshop/index\.php\ HTTP/ RewriteRule ^index\.php$ http://www.mydomain.com/spyshop/ [R=301,L] **mydomain is substituted in actual code. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted April 14, 2009 Share Posted April 14, 2009 A) Check your web server error log to find out why the 500 error is being generated, and B) mod_rewrite is probably not enabled (stop and start your web server to get any changes made to httpd.conf to take effect.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.