mcmuney Posted March 31, 2011 Share Posted March 31, 2011 This is my .htaccess file, but whenever I add RewriteEngine ON, I get a 500 Internal Server Error, how can I fix this? AddHandler x-httpd-php5 .php AddHandler x-httpd-php .php4 RewriteRule ^(.*) /index.php RewriteRule ^profile/(.*)$ /social_mem_profile.php?scm_mem_id=$1 <Limit GET HEAD POST> order allow,deny deny from 41.206.64.0/19 deny from 41.207.0.0/19 deny from 41.207.192.0/19 deny from 196.47.128.0/18 deny from 196.201.64.0/19 deny from 196.223.4.0/24 deny from 213.136.96.0/19 deny from 213.150.192.0/19 deny from 41.208.128.0/18 deny from 196.1.92.0/24 deny from 196.1.93.0/24 deny from 196.1.94.0/24 deny from 196.1.95.0/24 deny from 196.1.96.0/24 deny from 196.1.97.0/24 deny from 196.1.98.0/24 deny from 196.1.99.0/24 deny from 196.1.100.0/24 deny from 196.207.192.0/18 deny from 213.154.64.0/19 allow from all </LIMIT> Quote Link to comment Share on other sites More sharing options...
betterphp Posted March 31, 2011 Share Posted March 31, 2011 it should be On not ON but I doubt that is the issue, do you have mod_rewrite installed and loaded ? Quote Link to comment Share on other sites More sharing options...
mcmuney Posted March 31, 2011 Author Share Posted March 31, 2011 Same problem, even with "On". Yes, it's loaded, it's a shared host. 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.