1 # http://www.privoxy.org/.htaccess
3 # Initial version written by Jon Foster
5 # Intercepts requests for these servers:
6 # http://ijbswa.sourceforge.net/
8 # http://www.privoxy.com/
11 # And redirects all requests to the canonical web server:
12 # http://www.privoxy.org/
14 # Requests for: http://config.privoxy.org/.*
15 # are redirected to: http://www.privoxy.org/config/
17 # Uses Apache's mod_rewrite
18 # See http://httpd.apache.org/docs/mod/mod_rewrite.html
24 # Note that the parentheses seem to be mandatory
25 # even if we aren't interested in what they match.
26 RewriteCond %{HTTP_HOST} ^config\.privoxy\.org [NC]
27 RewriteRule ^(.*)$ http://www.privoxy.org/config/ [R,L]
29 RewriteCond %{HTTP_HOST} !^www\.privoxy\.org\.?$ [NC]
30 RewriteCond %{HTTP_HOST} !^$
31 RewriteRule ^(.*)$ http://www\.privoxy.org/$1 [R,L]