Search found 3 matches

by lokesh7186
Tue Sep 16, 2008 5:39 am
Forum: Linux
Topic: Dynamic Sub Domain Using htaccess
Replies: 15
Views: 8957

Re: Dynamic Sub Domain Using htaccess

Actually what I want is that when a College comes and registers on my website, the college will automatically get a subdomain. i.e. http://collegename.educationss.com I create a directory for that college through my PHP code. i.e. http://www.educationss.com/colleges/[b]COLLEGE_DIRECTORY[/b] Now the ...
by lokesh7186
Tue Sep 16, 2008 4:08 am
Forum: Linux
Topic: Dynamic Sub Domain Using htaccess
Replies: 15
Views: 8957

Re: Dynamic Sub Domain Using htaccess

the document roots on the same server.

PLease Help
by lokesh7186
Fri Aug 22, 2008 2:48 am
Forum: Linux
Topic: Dynamic Sub Domain Using htaccess
Replies: 15
Views: 8957

Dynamic Sub Domain Using htaccess

Hi I want to redirect the user from http://collegename.educationss.com to http://educationss.com/colleges/collegename . What I am using currently is given below and works fine.   RewriteEngine on RewriteCond %{HTTP_HOST} ^(www\.)?educationss\.com$ [NC] RewriteRule ^.*$ - [L] RewriteCond %{HTTP_HOST}...