[PHP/Apache] Transparent Subdomains ?

From: Date: Thu, 13 Dec 2001 19:56:02 +0000
Subject: [PHP/Apache] Transparent Subdomains ?
Groups: php.general 
Request: Send a blank email to php-general+get-77656@lists.php.net to get a copy of this message
Any ideas on how to pull this off. I would like to have http://mydomain.com and http://www.mydomain.com resolve to my /index.html page. When a user types in http://crazy.mydomain.com or http://crazy.mydomain.com/crazy-page.php, I would like to have it resolve to /home/mydomain/public_html/handler.php where I can trap for the subdomain/URI and perform dynamic processing on those values. I presume it would have to be a process though mod_rewrite and .htaccess? Is this able to be done. I've gone though quite a bit yet unable to get it working as described. Any ideas? Jon

« previous php.general (#77656) next »