rondog Posted April 22, 2009 Share Posted April 22, 2009 I am trying to enable mod rewrite. I create an .htaccess file and uploaded it with just this: LoadModule rewrite_module modules/mod_rewrite.so and I get a 500 internal server error. whats up with that? Quote Link to comment https://forums.phpfreaks.com/topic/155229-internal-server-error-with-htaccess/ Share on other sites More sharing options...
wildteen88 Posted April 22, 2009 Share Posted April 22, 2009 You cannot use LoadModule directive within an .htaccess file. You should add that line to Apaches configuration file if you have access to it. If you dont you should contact your host and see if they'll enable mod_rewrite for you. Quote Link to comment https://forums.phpfreaks.com/topic/155229-internal-server-error-with-htaccess/#findComment-816684 Share on other sites More sharing options...
rondog Posted April 22, 2009 Author Share Posted April 22, 2009 oh ok gotcha...ill go ahead and do that. Quote Link to comment https://forums.phpfreaks.com/topic/155229-internal-server-error-with-htaccess/#findComment-816692 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.