ALSO posted on WMW at the same instant...
I need to be able to create virtual (read: FAKE)subdomains by this afternoon using only mod_rewrite. I will pay $25 to the first person who can give me a working example. PayPal, credit card, cash if you so desire, whatever...I just need it to work!
Here are the requirements:
(1) All subdomains should point like this:
test.domain.com ==> www.domain.com/program.php?var=test
or
example.domain.com ==> www.domain.com/program.php?var=example
(2) HTTPD.CONF and other conf files are NOT availible for modification. So that means, no WILDCARD subdomain directives in the conf files at all.
(3) RE: #2, the solution will probably only be contained in the .htaccess.
Any takers? I have searched high and low since NOV 2003 and can't get it to work. Thanks in advance!