httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart Braem <bart.br...@gmail.com>
Subject [users@httpd] Re: Re: Redirecting urls to a server on a different port
Date Mon, 06 Mar 2006 07:20:48 GMT
Dick Middleton wrote:

> Bart,
>>>Have a look at mod_proxy
> 
>> I already did, it seems to work only with subdomains. Or am I mistaken
>> there? I can't find good information on not using subdomains as it's
>> difficult to search for...
> 
> No.  Reverse proxy is more like an alias where a particular URL is
> mapped onto another URL.
> 
> ProxyPass /cam/camel http://horse.com/
> ProxyPassReverse /cam/camel http://horse.com/
> 
> would change a request like:
> 
> http://yourdomain.com/cam/camel/subdir/index.html
> 
> to effectively:
> 
> http://horse.com/subdir/index.html
> 
> The main difference between a redirect and a reverse proxy is the client
> does not know with a proxy that the request is served from a different
> URL.  With a redirect the user can see they have been switched to the
> other site.
> 
This is exactly what I needed, thanks!

Bart


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