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. Link to comment https://forums.phpfreaks.com/topic/154037-500-internal-server-error-from-mod-rewrite/ 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.) Link to comment https://forums.phpfreaks.com/topic/154037-500-internal-server-error-from-mod-rewrite/#findComment-809706 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.