From 3406be3c7689cff97aa0c66323ad98f10190e98c Mon Sep 17 00:00:00 2001 From: jongfoster Date: Sat, 22 Sep 2001 14:55:41 +0000 Subject: [PATCH] Displaying an error message whenever the config directory is read. --- doc/webserver/config/.htaccess | 28 ++++++++++++++++++++++++++++ doc/webserver/config/index.php | 19 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 doc/webserver/config/.htaccess create mode 100644 doc/webserver/config/index.php diff --git a/doc/webserver/config/.htaccess b/doc/webserver/config/.htaccess new file mode 100644 index 00000000..934ac19c --- /dev/null +++ b/doc/webserver/config/.htaccess @@ -0,0 +1,28 @@ +# http://ijbswa.sourceforge.net/config/.htaccess +# +# By Jon Foster +# +# Redirects any request for any file in this directory tree +# to an error page. +# +# Uses Apache's mod_rewrite +# See http://httpd.apache.org/docs/mod/mod_rewrite.html +# + +# Enable mod_rewrite +RewriteEngine on + +# we are reached via /config/ prefix +RewriteBase /config/ + +# The only file which really exists is index.php - allow this +RewriteRule index.php - [L] + +# Silently redirect the config dir to index.php +RewriteRule ^$ index.php [L] + +# anything else gets redirected to the config dir, and we update +# the browser's location bar. +RewriteRule ^(.*)$ /config/ [R] + + diff --git a/doc/webserver/config/index.php b/doc/webserver/config/index.php new file mode 100644 index 00000000..9be04627 --- /dev/null +++ b/doc/webserver/config/index.php @@ -0,0 +1,19 @@ + + +Internet JunkBuster not running + + + + +

JunkBuster isn't working

+ +

If you can see this page, it means that you aren't using the +JunkBuster +proxy.   Please check your browser settings.

+ +

Junkbuster home page

+ + + + -- 2.39.2