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 Link to comment https://forums.phpfreaks.com/topic/157409-whats-wrong-with-this/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.