leecooper Posted June 22, 2009 Share Posted June 22, 2009 i write this code RewriteCond %{REQUEST_URI} !^/usersite\.php RewriteCond %{HTTP_HOST} !^www\.cdf\.co.il RewriteCond %{HTTP_HOST} ^www\.([^.]+)\.cdf\.co.il RewriteRule ^$ /usersite.php?action=%1 [L] #%1 - is the name of the domain in .htaccesss i go to this link http://www.cdf.co.il/usersite.php?action=ooo to check if i have a right action [get], and now i wont to see my subdomain, ooo.cdf.co.il its not connect to page, way? Quote Link to comment https://forums.phpfreaks.com/topic/163264-subdomain/ 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.