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

           Summary: mod_rewrite result in mod_headers failed
           Product: Apache httpd-1.3
           Version: 1.3.41
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: mod_rewrite
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


the following is my httpd.conf:
-------------------------------------------------------------
ServerRoot "/opt/itc/apache"
Port 80
User apache
Group apache
ServerName www.beijing2008.cn
DocumentRoot "/opt/www/cn"
ErrorLog /opt/itc/apache/logs/error_log

LoadModule rewrite_module     libexec/mod_rewrite.so
LoadModule headers_module     libexec/mod_headers.so
ClearModuleList
AddModule mod_rewrite.c
AddModule mod_headers.c
AddModule mod_so.c

RewriteEngine On
RewriteRule ^/xxx /yyy [L,R=permanent]

ErrorHeader  set  EEEEEEE  "eeeeeeeeeeeeeeeeeeeeeeeeeeee"
Header       set  HHHHHHH  "hhhhhhhhhhhhhhhhhhhhhhhhhhhh"
---------------------------------------------------------------
when "RewriteEngine" is "Off", the output of the following command
curl -v http://www.beijing2008.cn/xxx
will contain "EEEEEEE" and "HHHHHHH" headers as expected.
but when "RewriteEngine" is "On", the two headers will be lost!

by the way, apache 2.0 and 2.2 doesn't have this problem.


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

Reply via email to