Jump to content

Whats wrong with this?


Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.