Posted by Toby A Inkster on 05/30/07 10:49
Floortje wrote:
> 1. Use mod rewrite to rewrite any subdomain (except www/your_own etc) to
> redirect.php?domain=$1
> 2. Check the domain and redirect :-)
0. Set up a wildcard DNS entry to point anything.example.com to your
server.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 95 days, 18:34.]
Non-Intuitive Surnames
http://tobyinkster.co.uk/blog/2007/05/25/non-intuitive-surnames/
Navigation:
[Reply to this message]
|