You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/02/07 07:18:30 UTC

DO NOT REPLY [Bug 52617] New: Visit the rewrite page from ServerAlias domain vhost respond "400 Bad Request"

https://issues.apache.org/bugzilla/show_bug.cgi?id=52617

             Bug #: 52617
           Summary: Visit the rewrite page from ServerAlias domain vhost
                    respond "400 Bad Request"
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: 275862485@qq.com
    Classification: Unclassified


The unrewrite page have no problem,but the all rewrite page respond a blank
page with the "400 Bad Request".

And the rewrite page have no problem when it is visite by the ServerName
domain.

vhost config block:
<VirtualHost *:80>
    DocumentRoot /var/www/test/ROOT
    ServerName www.test.com
    ServerAlias xprewww.test.com

    <Directory /var/www/test/ROOT>
        Order allow,deny
        Allow from all
        AllowOverride None
        Options   FollowSymLinks
    </Directory>
RewriteEngine on

RewriteRule ^/partner$                                         
/friendLink.action [PT,L]

RewriteRule ^/partner$                                        
/friendLink.action [PT,L]

</VirtualHost>

-- 
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