httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48646] New: Rewrite in .htaccess generating problem
Date Sun, 31 Jan 2010 21:12:13 GMT

           Summary: Rewrite in .htaccess generating problem
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: HP
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_rewrite

Created an attachment (id=24912)
 --> (
rewrite log

Hi all,
I have quite strange problem with apache and mod_rewrite:
I have following rewrite in .htaccess:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]
RewriteRule ^.*$ index.php [L]

Everythink is working fine (all requests for nonexisting files are pushing to
index.php), but after about 20minutes (time is various), the web servers starts
serving instead of output from index.php, do not put requests to the index.php
at all, insted of it returns CSS file (still the same). The requests are not
given to index.php. If I enable the rewrite log there you can see, that the log
in failed case ends earlier.
Next what I have found is, that if I this rewrite put directly into apache
httpd.conf into the virtualhost directive, it's working perfectly - so it's
probably somehow connected with processing .htaccess.
I was tring debian sid distribution, now I have upgraded to the lenny with
2.2.9-10+lenny6 apache2 package.
I have for sure PHP versions 5.2.11, 5.2.12 and 5.3.1 and apache both in
prefork and worker mode, still the same results.


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message