https://issues.apache.org/bugzilla/show_bug.cgi?id=48646
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
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=24912)
--> (https://issues.apache.org/bugzilla/attachment.cgi?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.
Ondrej
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]