X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fwebserver%2F.htaccess;h=e2c3e3dbe5ffb016c93025ba89a8fc71b0dcdc33;hb=ae6beecce49ef10b169c4b843580985430bc698b;hp=0ecf688da0ff1ccc8d94bce2a8015bb34100f158;hpb=9c63d5fc0ef079cf0d29d64cb2cb5c26a196fac1;p=privoxy.git diff --git a/doc/webserver/.htaccess b/doc/webserver/.htaccess index 0ecf688d..e2c3e3db 100644 --- a/doc/webserver/.htaccess +++ b/doc/webserver/.htaccess @@ -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]