NYCPHP Meetup

NYPHP.org

[nycphp-talk] OT: Apache Redirection

Gautam Guliani gautamg at panix.com
Tue Nov 19 13:47:11 EST 2002


Evan,
    You're best off using mod_rewrite.
http://www.engelschall.com/pw/apache/rewriteguide/#ToC35
In particular and
http://www.engelschall.com/pw/apache/rewriteguide/
In general should help you.

--
Gautam

On 11/19/02 11:58 AM, "evan heller" <evan.heller at alum.rpi.edu> wrote:

> Actually now I have one more question:
> 
> 
> I'm currently running multiple virtual hosts using
> the <VirtualHost *> directive
> So, if I would like to redirect all
> http://webmail.* to mydomain.com:8001 how would I
> do this?
> Like so?
> 
> <VirtualHost *>
> ServerAlias webmail.*
> Redirect / http://mydomain.com:8001/
> </VirtualHost>
> 
> -Evan
> 
> 
> evan heller wrote:
>> 
>> Wow, that was a quick reply from everyone. Thank
>> you very much, I'll be putting this information to
>> go use!
>> 
>> -Evan
>> --
>> 
>> Evan Heller
>> evan.heller at alum.rpi.edu
>> 
>> 




More information about the talk mailing list