Renaming web server to www.privoxy.org (from privoxy.org)
[privoxy.git] / doc / webserver / .htaccess
index 0ecf688..e2c3e3d 100644 (file)
@@ -6,10 +6,10 @@
 #    http://ijbswa.sourceforge.net/
 #    http://privoxy.com/
 #    http://www.privoxy.com/
-#    http://www.privoxy.org/
+#    http://privoxy.org/
 #
 # And redirects all requests to the canonical web server:
-#    http://privoxy.org/
+#    http://www.privoxy.org/
 #
 #
 # Uses Apache's mod_rewrite
@@ -20,7 +20,7 @@
 RewriteEngine on
 
 
-RewriteCond %{HTTP_HOST}   !^privoxy\.org\.?$ [NC]
+RewriteCond %{HTTP_HOST}   !^www\.privoxy\.org\.?$ [NC]
 RewriteCond %{HTTP_HOST}   !^$
-RewriteRule ^(.*)$         http://privoxy.org/$1 [R,L]
+RewriteRule ^(.*)$         http://www\.privoxy.org/$1 [R,L]