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 52902] New: Apache-2.4: mod_rewrite's [P] doesn't work
Date Tue, 13 Mar 2012 15:53:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52902

             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
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mail@stephan-jansen.eu
    Classification: Unclassified


Following modules are loaded:

LoadModule access_compat_module modules/mod_access_compat.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule mpm_worker_module modules/mod_mpm_worker.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule headers_module modules/mod_headers.so


This is the virtualhost:

<VirtualHost _default_:11850>
        ServerName my_server_name.com

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

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

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 145.230.37.32:42090] AH00128: File does not exist:
proxy:http://195.233.222.199:8080/GDSPGui/login.htm

It looks like the request is not passed to mod_proxy.

Many thanks,
Stephan Jansen

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