httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petr Hracek <>
Subject [users@httpd] Problem with configuring Reverse Proxy and VirtualHost
Date Fri, 12 Aug 2011 19:21:45 GMT
Dear user,

I am a new bie in Reverse Proxy configuration but something is wrong
and I really do not know
where can be a problem.

My configuration of Virtual Host is following:
<VirtualHost *:443>
        SSLEngine on
        SSLProxyEngine on
        ServerName main_assistant
        ProxyPreserveHost on
        ProxyRequests off
        TraceEnable off
        DocumentRoot "/opt/apache/htdocs/ssldocs"
              <Location "/APPL/">
                    require valid-user
                    ProxyPassReverseCookiePath /SECAdmin /APPL


ServerName APPL
#ProxyPreserveHost on
ProxyRequests Off
TraceEnable Off
Include /opt/apache/conf/sslcrtcnf/current.conf

# Possible values: debug, info, notice, warn, error, crit, alert, emerg.
ErrorLog "|/opt/apache/bin/pipelogs /var/log/apache2/appl_log 640000"
LogLevel debug
LogFormat "%v %h %l %u \"%r\" %>s %b Port: %p Pid: %P User-Agent:
\"%{User-Agent}i\" Cookie: \"%{Cookie}i\""
TransferLog "|/opt/apache/bin/pipelogs /var/log/apache2/access_log 640000"


But when I am accessing https://<ip_address>/APPL/
in the log I see following:

[Fri Aug 12 16:13:56 2011] [debug] mod_proxy_http.c(56): proxy: HTTP:
canonicalising URL //
[Fri Aug 12 16:13:56 2011] [debug] udsc_handlers.c(3419): udsc_fixups
[Fri Aug 12 16:13:56 2011] [debug] proxy_util.c(1506): [client] proxy: http: found worker
for, referer:
[Fri Aug 12 16:13:56 2011] [debug] mod_proxy.c(1015): Running scheme
http handler (attempt 0)
[Fri Aug 12 16:13:56 2011] [debug] mod_proxy_ajp.c(655): proxy: AJP:
declining URL
[Fri Aug 12 16:13:56 2011] [debug] mod_proxy_http.c(1973): proxy:
HTTP: serving URL

As you can see there is missing character "/" and URL has to be:

Where I have made a mistake in configuration?

Does it mean the VirtualHost has to have the same name ServerName APPL
as URL is mentioned?
Each VirtualHost should have its own webserver(apache2,tomcat5...) or
it is enought to specify only URL page.

Thank you in advance

Best Regards / S pozdravem
Petr Hracek

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message