mapping subdirectory to a different server

mapping subdirectory to a different server

am 26.06.2007 18:54:17 von noob

Hello all,

Hope you can help me :)

I am trying to map a website's subdirectory to a different server. How can
I do that... I don't want to mount the other server onto the subdirectory,
and was hoping there is an elegant way (or semi-elegant way) to do this
using .htaccess or otherwise.

Thanks,

steve

Re: mapping subdirectory to a different server

am 26.06.2007 20:31:26 von kwan

On Jun 26, 11:54 am, "noob" wrote:
> Hello all,
>
> Hope you can help me :)
>
> I am trying to map a website's subdirectory to a different server. How can
> I do that... I don't want to mount the other server onto the subdirectory,
> and was hoping there is an elegant way (or semi-elegant way) to do this
> using .htaccess or otherwise.
>
> Thanks,
>
> steve

You can use Alias /some /somethingelse

Re: mapping subdirectory to a different server

am 26.06.2007 22:44:48 von sean dreilinger

noob wrote:
> I am trying to map a website's subdirectory to a different server. How can
> I do that... I don't want to mount the other server onto the subdirectory,
> and was hoping there is an elegant way (or semi-elegant way) to do this
> using .htaccess or otherwise.

you can use a reverse proxy via mod_proxy:

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypas sreverse
http://httpd.apache.org/docs/1.3/mod/mod_proxy.html#proxypas sreverse

--
sean dreilinger - http://durak.org/sean/