Bug 54820 - REwriterule stops working
Summary: REwriterule stops working
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_rewrite (show other bugs)
Version: 2.4.4
Hardware: PC All
: P2 critical (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2013-04-09 20:40 UTC by Paul
Modified: 2021-03-30 12:45 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2013-04-09 20:40:26 UTC
Windows 2008r2
Apache 2.4.4 64 bit

Using the RewriteRule such as below STOPS working entirely after a random period of time (typically so far, at least 3+ hours on our web server). 

RewriteRule ^/tracker(.*)$ https://ourdomainname.com/tracker$1 

Instead of the forward working, a user typing in http://ourdomain.com/tracker just gets no response and ultimately a page not found error because apache just decides it's going to ignore the rule in our virtual hosts file after a while. 

There are no error messages as yet from our search of the various log files (Windows application, Windows System, Apache log, mysql, ssl, etc). 

Using the "restart" button on the Apache Service Monitor does not fix this either. 

We have to completely STOP the service, wait one or two seconds, then START the apache service again to make it start working once again.  

My temporary "fix" has been to setup a Task in windows to stop, ping 4 seconds, then start the apache2.4 service once ever 2 hours.
Comment 1 Eric Covener 2014-01-20 00:13:38 UTC
Still seeing this or know anything more than the original report?