httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Robert D." <RDNel...@Mail.Donaldson.com>
Subject RE: [users@httpd] ProxyPass Question
Date Mon, 16 Dec 2002 17:37:57 GMT
Colin:

> Sorry I am new to apache....

No worries, we all start somewhere. :)

> I am trying to get everything to pass to a url using the proxypass in
> the httpd.conf....
> 
> Currently I have a server that is doing....
> 
> ============================================
> 
> <VirtualHost x.x.x.x>
> 
>         ProxyVia On
>         ProxyPass /this http://somewhere.com:1080
>         ProxyPassReverse /this http://somewhere.com:1080
> 
>         ServerAdmin someone@somewhere.com
>         ServerName server
>         DocumentRoot /var/www/html/thisone
>         ErrorLog logs/thisone-error.log
>         Customlog logs/thisone-access.log common
> 
> </VirtualHost>
> 
> ============================================
> 
> I want to change "ProxyPass /this http://somewhere.com:1080 "
> so that rather than /this it redirects everything.... i.e. *

What you can do (this is what I do) is set it up to start the proxypass at
the root.  For example...

 ProxyPass / http://somewhere.com:1080

This will get rid of your "/this" thing and pass everything.

 ~ Robert


---------------------------------------------------------------------
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


Mime
View raw message