| 
 Posted by Floortje on 05/30/07 10:15 
stiv wrote: 
> I want to give users of my site the option to register for a subdomain 
> redirection service. I scanned the Internet for some script, but 
> didn't really find anything that works. Tried the PHP script from 
> http://opendomains.vnn.bz/ and many others. So now I want to ask you 
> if you know of any script in PHP, Perl, Phyton that can accomplish 
> this task? 
 
Cant be that hard .. Google for apache mod_rewrite 
 
1. Use mod rewrite to rewrite any subdomain (except www/your_own etc) to  
redirect.php?domain=$1 
2. Check the domain and redirect :-) 
 
 
 
Will that help you  or do you need some code ? 
 
Floortje
 
  
Navigation:
[Reply to this message] 
 |