in reply to Re: Re (tilly) 2: Web Hosting for Monks
in thread Web Hosting for Monks
this just happens to be covered in the mod_rewrite URL Rewriting Guide (slightly modified for the situation in question):
RewriteEngine on RewriteCond %{HTTP_HOST} ^[^.]+\.perlmonks.org$ RewriteRule ^(.+) %{HTTP_HOST}$1 [C] RewriteRule ^([^.]+)\.perlmonks.org(.*) /home/monks/$1$2
|
---|
In Section
Perl Monks Discussion