Re: redirect based on HTTP_HOST using mod_rewrite

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

 



You are right

I have updated my conf for NameVirtualHost instead of mod_rewrite, it does the 
job

Thanks

On Wednesday, January 25, 2012 11:41:49 PM Pete Houston wrote:
> On Wed, Jan 25, 2012 at 10:58:02PM +0100, Thomas Carrié wrote:
> > It is the first time I use module mod_rewrite is totally new to me, 2
> > things
> > are unclear to me:
> Why are you using mod_rewrite at all? Just use a NameVirtualHost and set
> up 2 virtual hosts for your 2 domains to which you could then restrict
> access accordingly. mod_rewrite seems an unnecessary complication for
> this task and (assuming you are using shared modules) only increases
> the memory footprint for each server process.
> 
> Pete

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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