httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shanti Suresh <>
Subject [users@httpd] mod_vhost_alias does not resolve "%0"
Date Fri, 30 Aug 2013 15:03:50 GMT

mod_vhost_alias is not resolving %0.  Perhaps I am doing something wrong.
I would like to redirect a specific page to the encrypted site.  Everything
else goes straight thru' to Tomcat.  I get a "%250" in my browser redirect.

This is what I have:

-----------httpd.conf snippet:------

LoadModule vhost_alias_module         modules/

Listen 80
NameVirtualHost *:80

<VirtualHost *:80>
  ProxyPassMatch ^/.*/securechannel !
  RedirectMatch permanent ^/(.*)/securechannel https://%0/$1/securechannel

  ProxyPass /
  ProxyPassReverse /

-----------End of httpd.conf snippet:------

My browser gets redirected to "https://%250/test/securechannel" and Safari
complains with "Safari can't find the server" when I access "".

The following however works:
 RedirectMatch permanent ^/(.*)/securechannel$1/securechannel

So how do I eliminate "%250" and get HTTPD to pass the HTTP request over to
the HTTPS side for that one page?



View raw message