You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tapas Mishra <mi...@gmail.com> on 2010/07/18 21:03:42 UTC

[users@httpd] vhost with ProxyHTMLInterp On/Off correct definition of vhost needed

<VirtualHost *:80>

       ServerAdmin webmaster@localhost
       ServerName site4
       ProxyRequests off
       <Proxy *>
       Order deny,allow
       Allow from all
       </Proxy>
       ProxyPreserveHost Off
 ProxyPass /sakai   http://myinternal.server.in
       ProxyHTMLURLMap http://myinternal.server.in

 <Location /sakai/>
       ProxyPassReverse http://myinternal.server.in
       ProxyHTMLInterp On
       ProxyHTMLURLMap / /sakai/
       RequestHeader unset Accept-Encoding
       </Location>

</VirtualHost>

Above is configuration of my vhost.I checked this page
http://apache.webthing.com/mod_proxy_html30/config.html

A-B-C

The URL I am redirecting is coming on A and the above configuration is
at  A which should go to B if URI contains /sakai
is the above use of mod_proxy_html correct ?
If this configuration of Vhost is wrong then what should I change in above.

-- 
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] vhost with ProxyHTMLInterp On/Off correct definition of vhost needed

Posted by Eric Covener <co...@gmail.com>.
> is the above use of mod_proxy_html correct ?

Looks reasonable from a 5 second glance. Is there something specific
you expect it to do that's not happening?

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org