bordr415 Posted December 19, 2008 Share Posted December 19, 2008 Ok, I've been searching endless through google and yahoo. Figured you guys have it figured out so came here for some help. To make a long story short every time I enter "RewriteEngine On" into .htaccess I get an "Internal Server Error". error.log shows: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration or in my other tests: Invalid command 'RewriteCond', perhaps misspelled or defined by a module not included in the server configuration the real kicker is my httpd.conf: LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule setenvif_module modules/mod_setenvif.so I have tried every example of htaccess file I can find from simple to complex and none of them work when using rewrite commands. I am semi-new to php have used asp for some time but have started to transition towards php for the flexibility of it. My pages only show Internal Server Error when I have anything related to Rewrite in the htaccess. What am I doing wrong or what setting needs to be changed? Quote Link to comment https://forums.phpfreaks.com/topic/137676-mod_rewrite-on-internal-server-error/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 19, 2008 Share Posted December 19, 2008 After you modified httpd.conf, did you stop and start the web server to get that change to take effect? Quote Link to comment https://forums.phpfreaks.com/topic/137676-mod_rewrite-on-internal-server-error/#findComment-719590 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.