Re: [EMAIL PROTECTED] mod_rewrite subdomains and subdirectories

2007-01-06 Thread Bob
Charles Palmer wrote: RewriteCond %{HTTP_HOST} ^[^\.w{3}]+\.wl.example.com$ That won't work. Your expression [^\.w{3}] is invalid. This is a character class stating that the chars }3w.{ must not be present. You're looking for a negative lookahead, (?!www) Do you have access to your httpd.co

[EMAIL PROTECTED] mod_rewrite subdomains and subdirectories

2007-01-04 Thread Charles Palmer
Greetings: I am currently attempting to get the following set up: User goes to foo.bar.com Server is set up for www.bar.com and *.bar.com mod-rewrite is enabled rewrite rules accept foo.bar.com and opens a sub-directory under / home/bar.com/htdocs named foo User sees http://foo.bar.com and is s