Jump to content

Help plz


errietta
 Share

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...