Re: [users@httpd] virtual hosts and mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Boyle Owen wrote:
-----Original Message-----
From: Peter Horst [mailto:phorst@xxxxxxxxxxxxx] 
Sent: Friday, August 04, 2006 2:32 AM
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] virtual hosts and mod_rewrite

Hi, I am trying to redirect traffic from the root address at 
my default 
server (of two name-based virtual hosts) to /blog/.  I.e. I 
would like 
traffic for www.depaulacs.org/ to go automatically to 
www.depaulacs.org/blog/.  But I don't want to affect anything 
to do with 
the second virtual host.  Here is what I have tried.  Can 
someone point 
out where I've gone wrong? 
    

You haven't actually said what went wrong... Both sites lead to
different content so your name-based VHs work. So what's the problem?

  
I am trying to get requests to www.depaulacs.org to be redirected automatically to www.depaulacs.org/blog/  The way I have it currently configured, that doesn't happen.  I am not sure whether redirects need to go inside the default vhost container, or just out in the main body of my httpd.conf.  In any case I can't figure out how to do the redirect properly...

Thanks -

Peter

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux