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