What Causes 500 Error In Rewrite?
Post Description: This Is A Description Of A Problem I Encountered While On A New Server That I Kept Getting This Error On My Apache Servers
Tags: What, Causes, 500, Error, In, Rewrite?
This Post Was Posted On Jan 08, 2010 By Travis #3007
i recently moved my site to a new hosting server, and when i moved my website to the other server, my site did work as expected, instead i got this error message:
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
Please contact the server administrator,
email@example.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.
More information about this error may be available
in the server error log.
Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.3 (CentOS) Server at www.example.com Port 80
i checked your tutorial here and everything checked ok:
How To Fix Mod_rewrite 500 Internal Server Error On .htaccess File Apache
so then i deleted my .htaccess file and reloaded the site, i didnt get the 500 error anymore, which tells me that the problem is with the syntax in the .htaccess file
this is how my .htaccess file looked like (the first lines)
# SHOWS INDEX.PHP FOR ROOT WEB DIRECTORY
RewriteRule ^$ index.php [L]
so what i did was i comment out 'Options -Indexes' so i changed this line to this:
now it worked!!!!!
ihave an error like this....help....i spend 2 days to resolve that....i'am going crazy......
Powered by: Webune Forums V3