![]() |
|
#1
|
|||
|
|||
subdomain setupBasically, I have a php application running on apache and want that any URL like x.abc.com [x can be anything] works. I can trap the URL and take action based on value of x.
I came to know that entry in hosts file like *.abc.com does not work. Is there a way we can do it in apache? Tried this and other variations. <VirtualHost 127.0.0.1> DocumentRoot "c:/wamp/www/yojoe-web/html" ServerAlias *.abc.com RewriteEngine on RewriteCond %{HTTP_HOST} !^http://www.* [NC] </VirtualHost> Can someone please give me complete config? Thanks, Sachin |
|||
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [ SPECIAL OFFER ] Shared Web Hosting Very Cheap! $4.95 Per Month, Free Setup! | PhilG | Web Hosting Advertisements & Offers | 0 | 29-Jan-2008 05:46 |
| 1 Month Test Drive/instant Setup/ Starting @ $3.50/Month | hostparlor | Web Hosting Advertisements & Offers | 0 | 12-Aug-2007 22:54 |
| cPanel Hosting starting at ONLY $3.95/mo - FREE SETUP - RVSkin & FANTASTICO | WireNine | Web Hosting Advertisements & Offers | 0 | 13-Feb-2007 13:50 |
| Get 100MB Reseller Hosting with 3 Domains Setup at Rs.450 per year | classikhost | Free Web Hosting | 0 | 17-Oct-2006 10:29 |
| Free 1st month / Free setup / No credit card needed...Plans start at 4.95 | LarryIsaac | Web Hosting Advertisements & Offers | 0 | 11-Oct-2003 15:03 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The