therealwesfoster Posted May 8, 2009 Share Posted May 8, 2009 Wildcard subdomains are ON. I've done this many times before, but it's not working now.. and it's a hostgator server so I'm unsure why.. here's my code Options +FollowSymlinks Options All -Indexes <IfModule mod_suphp.c> suPHP_ConfigPath /home/sub555 <Files php.ini> order allow,deny deny from all </Files> </IfModule> RewriteEngine On RewriteCond %{HTTP_HOST} ^(.*)\.site\.com$ [NC] RewriteCond %1 !^(www|ftp|mail)$ [NC] RewriteRule ^(.*)$ ./runner.php?url=%1 [L] It all works EXCEPT for the subdomain part... Wes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.