httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jamie rishaw" <>
Subject [users@httpd] apache rewritecond spits out "". double slashes?
Date Sat, 30 Dec 2006 19:09:04 GMT

  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.

  While this doesnt break things /per se/, it is annoying and looks
like a misconfigured site.  Which = bad.

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

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



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message