[UPHPU] wildcard DNS & web roots

Wade Preston Shearer lists at wadeshearer.com
Fri Apr 25 16:15:20 MDT 2008


> RewriteEngine on
> RewriteCond     %{HTTP_HOST}                             [^.]+\.[^.]+ 
> \.dev.example\.com:[^.]+$
> RewriteRule     ^(.+)                                   %{HTTP_HOST} 
> $1                  [C]
> RewriteRule     ([^.]+)\.([^.]+)\.example\.com(.*)       /home/$2/ 
> sites/$1/htdocs$3

Shouldn't that last line be:

RewriteRule     ([^.]+)\.([^.]+)\.dev.example\.com(.*)       /home/$2/ 
sites/$1/htdocs$3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20080425/70662aff/smime.bin


More information about the UPHPU mailing list