Only the directives in mod_vhost_alias do anything with the substitutions. On Fri, Aug 30, 2013 at 11:03 AM, Shanti Suresh <shanti@xxxxxxxxx> wrote: > Greetings, > > 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/mod_vhost_alias.so > > Listen 80 > NameVirtualHost *:80 > > <VirtualHost *:80> > ServerName qa.site.domain.edu > ... > ProxyPassMatch ^/.*/securechannel ! > RedirectMatch permanent ^/(.*)/securechannel https://%0/$1/securechannel > > ProxyPass / http://qaserver1.site.domain.edu:8080/ > ProxyPassReverse / http://qaserver1.site.domain.edu:8080/ > > </VirtualHost> > -----------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 > "http://qa.site.domain.edu/test/securechannel". > > The following however works: > RedirectMatch permanent ^/(.*)/securechannel > https://qa.site.domain.edu/$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? > > Thanks, > > -Shanti > > -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx