From: stevenknight Date: Thu, 25 May 2006 22:43:15 +0000 (+0000) Subject: Add the .htaccess file. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=689f617e85352841a6618f0578f635117f4f42a8;p=scons.git Add the .htaccess file. git-svn-id: http://scons.tigris.org/svn/scons/trunk@1505 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- 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 +