Error page
This commit is contained in:
parent
4e6d020754
commit
6252a61d19
2 changed files with 15 additions and 1 deletions
|
@ -1 +1,15 @@
|
|||
# Empty .htaccess to make git realise this directory exists
|
||||
# Block access to every file starting with a dot
|
||||
<Files ".*">
|
||||
Require all denied
|
||||
</Files>
|
||||
|
||||
# Set Error documents
|
||||
ErrorDocument 404 /404.php
|
||||
ErrorDocument 403 /404.php
|
||||
ErrorDocument 401 /404.php
|
||||
|
||||
# Rewrite Stuff
|
||||
RewriteEngine on
|
||||
Options +FollowSymLinks -Indexes
|
||||
|
||||
# Rewrite Rules
|
||||
|
|
0
main/404.php
Normal file
0
main/404.php
Normal file
Reference in a new issue