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: [email protected]
ReportedBy: [email protected]
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>
<IfModule mod_rewrite.c>
RewriteCond %{ENV:REDIRECT_STATUS} 200|[45]0[0-9]
RewriteRule .* - [L]
... some simple rules ...
RewriteRule .* /index.php [L,QSA]
</IfModule>
</code>
<VirtualHost *:80>
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
</VirtualHost>
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: [email protected]
For additional commands, e-mail: [email protected]