ENHANCEMENT ErrorDocument in default .htaccess so Apache serves default 404 and 500 server error pages

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@108663 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sharvey 2010-07-28 23:54:20 +00:00 committed by Sam Minnee
parent a917b59230
commit f5245c7b0f
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,9 @@
Deny from all
</Files>
ErrorDocument 404 /assets/error-404.html
ErrorDocument 500 /assets/error-500.html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^(.*)$

View File

@ -1100,6 +1100,9 @@ HTML;
Deny from all
</Files>
ErrorDocument 404 /assets/error-404.html
ErrorDocument 500 /assets/error-500.html
<IfModule mod_rewrite.c>
RewriteEngine On
$baseClause