Jump to content

subdomain


leecooper

Recommended Posts

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

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.