Jump to content

Help plz


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...