projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rebuild docs for 3.0.31 stable
[privoxy.git]
/
doc
/
webserver
/
.htaccess
diff --git
a/doc/webserver/.htaccess
b/doc/webserver/.htaccess
index
e2c3e3d
..
657fada
100644
(file)
--- a/
doc/webserver/.htaccess
+++ b/
doc/webserver/.htaccess
@@
-1,16
+1,17
@@
-# http://privoxy.org/.htaccess
+# http://
www.
privoxy.org/.htaccess
#
#
-#
B
y Jon Foster
+#
Initial version written b
y Jon Foster
#
# Intercepts requests for these servers:
# http://ijbswa.sourceforge.net/
#
# 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://www.privoxy.org/
#
# http://privoxy.org/
#
# And redirects all requests to the canonical web server:
# 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
#
# Uses Apache's mod_rewrite
# See http://httpd.apache.org/docs/mod/mod_rewrite.html
@@
-19,6
+20,10
@@
# Enable mod_rewrite
RewriteEngine on
# 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} !^www\.privoxy\.org\.?$ [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\.privoxy\.org\.?$ [NC]
RewriteCond %{HTTP_HOST} !^$