homepage Welcome to WebmasterWorld Guest from 54.161.214.221
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
How to create virtual subdomain on the fly?
variables pass subdomain
calande




msg:1503879
 10:48 pm on Jun 22, 2005 (gmt 0)

How can I rewrite rules to create virtual subdomains on the fly that are only used to pass variables to a PHP file?

For instance people access:

steel.suppliers.com

And the servers executes:

[suppliers.com...]

I don't pretend creating actual subdomains. It would only be a shortcut for visitors. There is going to be hundreds or thousands of names, and it's impossible to create subdomains by hand...

Is there a way to do it?
Thanks,

Calande.

 

jd01




msg:1503880
 9:54 pm on Jun 23, 2005 (gmt 0)

Hi calande,

Please, try using a major SE and this search: creating sub domains Apache site:webmasterworld.com

You should find a number of helpful threads, then if you can't get it to work, you can give us an idea of what you are trying, so we can help you find the right answer... We try not to 'code on demand' because that demand would quickly overwhelm the relatively small number of posters here.

Justin

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved