Linux slakware
2.0.35
When I used this in the httpd.conf it worked fine for
something.host.com but when I change the directory from /www to /home/www/ and
the domain from .com to .net the reright stopped working, I changed com to net
and /www/ to /home/www/ but still did not work.
RewriteCond %{HTTP_HOST} ^www\.[^.]+\.host\.com$ RewriteRule ^(.+) %{HTTP_HOST}$1 [C] RewriteRule ^www\.([^.]+)\.host\.com(.*) /www/$1$2 However for host.net/somename works fine with this RewriteRule /~([^/]+)/?(.*) /$1/$2 [R] can anyone figure this out?
Patrick |