This is a discussion on directing a webspace to another server? within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, i like to redirect a domain via httpd.conf to anthother server and there to a special directory. Is ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Wilhelm Kutting <wkutting@gmx.de> wrote:
> i like to redirect a domain via httpd.conf to anthother server and there to > a special directory. <VirtualHost *> ServerName yourdomain.com RedirectPermanent / http://whatever.org/something </VirtualHost> Davide -- | At no time is freedom of speech more precious than when a man hits his | thumb with a hammer. -- Marshall Lumsden | | |
|
|||
|
"Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message news:c4tp6p$2lfust$1@ID-18487.news.uni-berlin.de... > Wilhelm Kutting <wkutting@gmx.de> wrote: > > i like to redirect a domain via httpd.conf to anthother server and there to > > a special directory. > > <VirtualHost *> > ServerName yourdomain.com > RedirectPermanent / http://whatever.org/something > </VirtualHost> Or if you want to do it transparently, or the second server is not directly accessable to the client, you can use: <VirtualHost *> ServerName yourdomain.com ProxyPass / http://server.local/something </VirtualHost> |
| Thread Tools | |
| Display Modes | |
|
|