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