Here's a partial in my httpd.conf:
<VirtualHost *>
      ServerName www.foo.com
      ServerAdmin [EMAIL PROTECTED]

      ProxyRequests Off
      ProxyPass /directory http://server.bar.com:1234/directory/
      ProxyPassReverse /directory http://server.bar.com:1234/directory/
</VirtualHost>

Running Apache 1.3.x.  So I've got this to work so that when you type in:
   http://www.foo.com/directory
it reverse proxies to http://server.bar.com:1234/directory/

I'd also like to redirect so that if you try to go to:
   http://www.foo.com

it redirects to http://www.foo.com/directory.

How exactly would I do a redirect command?
    === Al



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to