httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48691] New: mod_rewrite lost a ground
Date Sun, 07 Feb 2010 03:08:10 GMT

           Summary: mod_rewrite lost a ground
           Product: Apache httpd-2
           Version: 2.2.14
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_rewrite

Created an attachment (id=24935)
 --> (
Problem as I see in rewrite.log

We have about 100,000 customers on server and cant take them a host because
host rewriting via mod_rewrite is very slow, but after VirtualDocumentRoot
mod_rewrite begins redirecting and doubling directory.

Log file attached.

.htaccess example in directory `ff` for log understanding:
&lt;IfModule mod_rewrite.c&gt;
RewriteCond %{ENV:REDIRECT_STATUS} 200|[45]0[0-9]
RewriteRule .* - [L]
... some simple rules ...
RewriteRule .* /index.php [L,QSA]

&lt;VirtualHost *:80&gt;
        ServerAlias *

        UseCanonicalName Off

        VirtualDocumentRoot /home/www/name.domain/%-3/

        RewriteEngine   on

        LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" vhost_combined
        ErrorLog /var/log/apache2/vhosts/error.log
        RewriteLog /var/log/apache2/vhosts/rewrite.log
        CustomLog /var/log/apache2/vhosts/access.log vhost_combined
        RewriteLogLevel 5

So, as far as I see there is no real simple and fast solution for that. And
have a very dirty miracle of apache goodness as professional web-server. ;-(

I don`t think that apache is "The one module web-server" or you say: "Use the
fkng mod_rewrite all where you can!"?

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