Search found 3 matches
- Tue Sep 16, 2008 5:39 am
- Forum: Linux
- Topic: Dynamic Sub Domain Using htaccess
- Replies: 15
- Views: 8959
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 ...
- Tue Sep 16, 2008 4:08 am
- Forum: Linux
- Topic: Dynamic Sub Domain Using htaccess
- Replies: 15
- Views: 8959
Re: Dynamic Sub Domain Using htaccess
the document roots on the same server.
PLease Help
PLease Help
- Fri Aug 22, 2008 2:48 am
- Forum: Linux
- Topic: Dynamic Sub Domain Using htaccess
- Replies: 15
- Views: 8959
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}...