Apache Server configuration support - Apache Redirect Question

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > July 2006 > Apache Redirect Question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache Redirect Question
sentron.hk@gmail.com

2006-07-14, 7:28 am

what can I do in order to achieve this result:

a request for a.xxx.com is mapped to www.xxx.com/a/

but the user don't notice the change

Davide Bianchi

2006-07-14, 7:28 am

On 2006-07-14, sentron.hk@gmail.com <sentron.hk@gmail.com> wrote:
> what can I do in order to achieve this result:
>
> a request for a.xxx.com is mapped to www.xxx.com/a/


Something like

NameVirtualHost *:80

<VirtualHost *:80>
ServerName a.xxx.com
ProxyVia Off
ProxyPass / http://www.xxx.com/a/
ProxyPassReverse / http://www.xxx.com/a/
</VirtualHost>

(not tested)

Davide

--
Blackmail Error:
Send $200 to Bill Gates or your computer will get so messed up it will never
work again.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com