httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48691] New: mod_rewrite lost a ground
Date Sun, 07 Feb 2010 03:08:10 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48691

           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
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: qfox@ya.ru


Created an attachment (id=24935)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?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:
<code>
&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;/IfModule&gt;
</code>

&lt;VirtualHost *:80&gt;
        ServerName domain.name
        ServerAlias *.domain.name

        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
&lt;/VirtualHost&gt;

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: 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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message