LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > random 404 errors on exiting pages

Reply
 
Thread Tools Display Modes
  #1  
Old 06-30-2012, 09:39 AM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
Default random 404 errors on exiting pages

Hi.

Something is really bugging my clients. When browsing pages, form time to time the 404 error shows up on existing pages. After a 404 shows up, a press of the refresh button loads the page just fine.

It's just annoying as when someone is browsing, the 404 just pops up, and some might think that the server is down when it's not.

Anyone else experiencing the same issue? We're running the latest version of litespeed, using cloudlinux for our OS.

Please advice.
Reply With Quote
  #2  
Old 06-30-2012, 08:49 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,218
please check .htaccess, if there is line like
RewriteRule . what-ever-string [L,...

then change to
RewriteRule .* what-ever-string [L,...

to see if any difference.

probably one of the causes, need test and feedback from real word websites.
Reply With Quote
  #3  
Old 06-30-2012, 09:43 PM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
Hi.

We don't have any rules that end in a dot in .htaccess. Also, this happens to our clients and us as well, randomly. Below is the htaccess for one of our sites that experience random 404 as well.

RewriteEngine On

# Announcements
RewriteRule ^announcements/([0-9]+)/[a-z0-9_-]+\.html$ /folder/announcements.php?id=$1 [L,NC]
RewriteRule ^announcements$ ./announcements.php [L,NC]

# Downloads
RewriteRule ^downloads/([0-9]+)/([^/]*)$ /folder/downloads.php?action=displaycat&catid=$1 [L,NC]
RewriteRule ^downloads$ ./downloads.php [L,NC]

# Knowledgebase
RewriteRule ^knowledgebase/([0-9]+)/[a-z0-9_-]+\.html$ /folder/knowledgebase.php?action=displayarticle&id=$1 [L,NC]
RewriteRule ^knowledgebase/([0-9]+)/([^/]*)$ ./knowledgebase.php?action=displaycat&catid=$1 [L,NC]
RewriteRule ^knowledgebase$ ./knowledgebase.php [L,NC]
Reply With Quote
  #4  
Old 06-30-2012, 10:13 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,218
can you give an example URL which caused 404 error?
I think you can get it from access log.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:22 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.