What Causes 500 Error In Rewrite?
RegisterLogin
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
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
What Causes 500 Error In Rewrite? by Travis
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
your request.
Please contact the server administrator,
webmaster@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)
RewriteEngine On
Options -Indexes
# SHOWS INDEX.PHP FOR ROOT WEB DIRECTORY
RewriteRule ^$ index.php [L]
Options -Indexes
# 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:
#Options -Indexes
now it worked!!!!!
Leave Your Comments
adrian
#4139 1
[thu jul 08 16:56:18 2010] [alert] [client 127.0.0.1] c:/wamp/www/.htaccess: invalid command '\xff\xfer', perhaps misspelled or defined by a module not included in the server configuration
ihave an error like this....help....i spend 2 days to resolve that....i'am going crazy......
ihave an error like this....help....i spend 2 days to resolve that....i'am going crazy......
Jul 08, 2010 Reply Report abuse
©2012 Webune Forums - Wed Dec 12, 2012 9:37 pm
Powered by: Webune Forums V3
Powered by: Webune Forums V3