httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52902] New: Apache-2.4: mod_rewrite's [P] doesn't work
Date Tue, 13 Mar 2012 15:53:07 GMT

             Bug #: 52902
           Summary: Apache-2.4: mod_rewrite's [P] doesn't work
           Product: Apache httpd-2
           Version: 2.4.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_rewrite
    Classification: Unclassified

Following modules are loaded:

LoadModule access_compat_module modules/
LoadModule unixd_module modules/
LoadModule socache_shmcb_module modules/
LoadModule authn_core_module modules/
LoadModule authz_core_module modules/
LoadModule mpm_worker_module modules/
LoadModule authz_host_module modules/
LoadModule log_config_module modules/
LoadModule logio_module modules/
LoadModule env_module modules/
LoadModule setenvif_module modules/
LoadModule proxy_module modules/
LoadModule proxy_http_module modules/
LoadModule ssl_module modules/
LoadModule rewrite_module modules/
LoadModule headers_module modules/

This is the virtualhost:

<VirtualHost _default_:11850>

        LogLevel debug
        ErrorLog "|/opt/SP/apache/current24/bin/rotatelogs \
                /opt/SP/apache/logs/http_error_11850.%Y%m%d%H%M 86400 120"
        CustomLog "|/opt/SP/apache/current24/bin/rotatelogs \
                /opt/SP/apache/logs/http_access_11850.%Y%m%d%H%M 86400 120"

        RewriteEngine On
        RewriteRule ^/$ /Gui/login.htm [R,L]
        RewriteCond %{REQUEST_URI} ^/Gui [OR]
        RewriteCond %{REQUEST_URI} ^/Maintenance
        RewriteRule ^/(.*) http://<backend_ip>:8080/$1 [P,L,QSA]
        RewriteRule ^.* - [F]
        ProxyPassReverse / http://<backend_ip>:8080/

        RequestHeader    unset  Accept-Encoding

        SSLEngine on
        SSLProtocol -all +TLSv1 +SSLv3
        SSLHonorCipherOrder On
        SSLCipherSuite RC4-SHA:HIGH:!ADH:!SSLv2:!aNULL:!eNULL:!NULL
        SSLCertificateFile /opt/SP/apache/certificates/cert.crt
        SSLCertificateKeyFile /opt/SP/apache/certificates/cert.key
        SSLCertificateChainFile /opt/SP/apache/certificates/chain.crt

The request result in http 404, this is what appears in the logs:

[Tue Mar 13 16:48:28.783323 2012] [core:info] [pid 22966:tid 1241569600]
[client] AH00128: File does not exist:

It looks like the request is not passed to mod_proxy.

Many thanks,
Stephan Jansen

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