<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Apache Config Changes'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 14 Apr 2026 23:56:34 +0000</lastBuildDate>
    <item>
      <title>bbnnt said on 10/Aug/2008</title>
      <link>https://snipplr.com/view/7146/apache-config-changes</link>
      <description>&lt;p&gt;this above rule will add a double slash at the end of the url (http://www.url.com =&gt; http://url.com//, http://www.url.com/some_file_or_some_directory... =&gt; http://www.url.com//some_file_or_some_directory..., etc).&#13;
&#13;
this one worked better :&#13;
&lt;pre&gt;&#13;
RewriteCond %{HTTP_HOST} ^www\.url\.com$ [NC]&#13;
RewriteRule ^(.*)$ http://url.com$1 [R=301,L]&#13;
&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 10 Aug 2008 12:33:06 UTC</pubDate>
      <guid>https://snipplr.com/view/7146/apache-config-changes</guid>
    </item>
  </channel>
</rss>
