errietta Posted August 19, 2008 Share Posted August 19, 2008 My site sometimes brings error 500 in random pages. I was wondering if it's something with my .htaccessthis is my .htaccess: RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://(www\.)?pokemonlake.com/.*$ [NC]RewriteRule .*\.(jpg|jpeg|gif|png|bmp|js)$ /forbidden.htm [R,NC]ErrorDocument 403 /error.phpErrorDocument 404 /error.php Please help---edit; i actually meant to put this in the php forum stupid me i dont have any asp pages anyway<insert lots of spam here />whatever. Link to comment Share on other sites More sharing options...
justsomeguy Posted August 19, 2008 Share Posted August 19, 2008 What's different about when it shows a 500 vs. not? What are the URLs when you see an error vs. when it works? Link to comment Share on other sites More sharing options...
errietta Posted August 19, 2008 Author Share Posted August 19, 2008 What's different about when it shows a 500 vs. not? What are the URLs when you see an error vs. when it works?Any .php page really and error 500 kind of kicks people out of battles so.. Link to comment Share on other sites More sharing options...
justsomeguy Posted August 19, 2008 Share Posted August 19, 2008 If it's truly random and is happening on any page where you can't identify any differences between when it works and fails, then there's nothing I can suggest. If there was something different about when it happens vs. when it doesn't then that would be a starting point to troubleshoot the problem, but if it just happen on any old PHP page then the server might be broken. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.