mouse
08-02-2002, 10:38 PM
My server seems to be b0rked with a 500 error. What kind of things cause this?
|
||||
Causes of internal server error 500mouse 08-02-2002, 10:38 PM My server seems to be b0rked with a 500 error. What kind of things cause this? Spookster 08-02-2002, 11:05 PM Check your error log and you will see. Feyd 08-02-2002, 11:13 PM Usually it is a typo on the coder's part...missing brackets, expected brackets, malformed code, doing things in the wrong order, semi-colons, not enclosing a string with what you opened it with, not escaping special characters, etc...but your error log, if you have access to it, will save you over and over again. Also, if you hosts as it enabled, you can just login through SSH or telent and do ./filename.ext to debug it... mouse 08-02-2002, 11:30 PM It must have been my .htaccess, this line: RewriteCond %{HTTP_USER_AGENT} ^Cold Fusion 4.0.*$ presumably the "4.0" part. Feyd 08-02-2002, 11:46 PM mod_rewrite doesn't like blank spaces in the user agent you are checking for, so just use this RewriteCond %{HTTP_USER_AGENT} ^Cold [OR] Leave off the [OR] if you aren't doing multiple checks |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum