[users@httpd] Help on Rewriting Rule

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

 



Dear sir,
           I have a long list of subdomains like "anything.enmail.com"
ie., *.enmail.com

It's a very tedious to set VirtualHost for each and every domain
because there is about 200 domains, so instead can i have a rule to 
fetch the pages from particulardomain/webdir/

If the domains say
ie., one.enmail.com
      two.enmail.com ...

If the web server gets a request as www.one.enmail.com or
one.enmail.com , it should fetch the page from
/home/domains/one.enmail.com/Webdir

And If the web server gets a request as www.two.enmail.com or
two.enmail.com , it should fetch the page from
/home/domains/two.enmail.com/Webdir

 Can anyone help me with the rule or way to achieve this.

Thanks in Advance

S>Rajkumar

---------------------------------------------------------------------
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