wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / doc / webserver / .htaccess
index 0ecf688..657fada 100644 (file)
@@ -1,16 +1,17 @@
-# http://privoxy.org/.htaccess
+# http://www.privoxy.org/.htaccess
 #
-# By Jon Foster
+# Initial version written by Jon Foster
 #
 # Intercepts requests for these servers:
 #    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/
 #
+# Requests for: http://config.privoxy.org/.*
+# are redirected to: http://www.privoxy.org/config/
 #
 # Uses Apache's mod_rewrite
 # See http://httpd.apache.org/docs/mod/mod_rewrite.html
 # Enable mod_rewrite
 RewriteEngine on
 
+# Note that the parentheses seem to be mandatory
+# even if we aren't interested in what they match.
+RewriteCond %{HTTP_HOST}   ^config\.privoxy\.org [NC]
+RewriteRule ^(.*)$         http://www.privoxy.org/config/ [R,L]
 
-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]