Forum Moderators: phranque

Message Too Old, No Replies

ReWrite problem: works one step behing

ReWrite redirects one step behing, too many files in a directory?

         

holgersson

6:43 am on Feb 27, 2008 (gmt 0)

10+ Year Member



Hi!

I've encountered a weird problem on a web server running on Tru64 Unix. I'm using Apache Rewrite to simplify addresses in the following manner:

[mywebsite.com...] --> [mywebsite.com...]

There are thousands of files in these subdirectories and the amount of files changes daily. Sometimes it's less, sometimes it's more.

I've found out that sometimes the Apache rewrite gets broken and starts to redirect the traffic "one step behind", like this:
1. Person X hits an URL for docX and gets docX.html as a result
2. Immediately after this, Person Y hits an URL for docY, but gets docX.html as a result instead

The only remedy I've come across this far is to restart Apache. It seems to fix the problem.

Does anybody know whether or not this has to do with too many files in a single directory? Or is there perhaps something else behind this?

Your help is sincerely appreciated!

-h

ZydoSEO

3:16 pm on Feb 27, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Perhaps if you posted the RewriteRule/RewriteCond code...