From 689f617e85352841a6618f0578f635117f4f42a8 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Thu, 25 May 2006 22:43:15 +0000 Subject: [PATCH] Add the .htaccess file. git-svn-id: http://scons.tigris.org/svn/scons/trunk@1505 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- scons.org/.htaccess | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scons.org/.htaccess diff --git a/scons.org/.htaccess b/scons.org/.htaccess new file mode 100644 index 00000000..1e9ff61b --- /dev/null +++ b/scons.org/.htaccess @@ -0,0 +1,15 @@ +RewriteEngine On +RewriteBase / + +# Point default locations to the wiki's front page: +RewriteRule ^wiki/?$ /cgi-sys/cgiwrap/scons/moin.cgi +RewriteRule ^wiki/index\.html$ /cgi-sys/cgiwrap/scons/moin.cgi + +# This rewrites /wiki/FooPage to /cgi-sys/.../FooPage. +# Works because this .htaccess file is in /wiki, so filenames +# passed into us here are relative to that dir. +# The name passed in here just looks like "FooPage". +# Local wiki mod: static wiki content is in /wikidata so this +# URL rewriting will work. +RewriteRule ^wiki/(.*)$ /cgi-sys/cgiwrap/scons/moin.cgi/$1 + -- 2.26.2