jamie rishaw wrote:
 RewriteCond.. just added to a host to strip www off of requests
coming to www.@

 Now tho all urls are being rewritten to "
http://host.tld//whatever";.  Note the double slashes after tld.
[...]

 Here's the rewrite code.  What did I miss?

<VirtualHost   domain.com>
   ...
   RewriteEngine On
   RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
   RewriteRule ^(.*)$  http://domain.com$1 [R=301,L]

That looks correct for per-server context. Did you enable the RewriteLog?

--
Bob

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to