From 52891a4ecf56960162072d8d4eabc3dbadcfb88d Mon Sep 17 00:00:00 2001 From: sharvey Date: Tue, 24 Nov 2009 06:52:31 +0000 Subject: [PATCH] ENHANCEMENT Easier installation for IIS based configurations by providing the web.config file out of the box, an inaccessible file on Apache based web servers git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@93255 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- .htaccess | 11 ++++++++--- web.config | 16 ++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 web.config diff --git a/.htaccess b/.htaccess index 4295431..d0dfc7d 100644 --- a/.htaccess +++ b/.htaccess @@ -1,8 +1,13 @@ ### SILVERSTRIPE START ### -Order deny,allow -Deny from all -Allow from 127.0.0.1 + Order deny,allow + Deny from all + Allow from 127.0.0.1 + + + + Order deny,allow + Deny from all RewriteEngine On diff --git a/web.config b/web.config new file mode 100644 index 0000000..754bc72 --- /dev/null +++ b/web.config @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file