-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
37 lines (30 loc) · 1.09 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# Apache/PHP settings:
#
# Don't show directory listings for URLs which map to a directory.
# Can be commented out if causes errors
Options -Indexes
# Follow symbolic links in this directory.
# Can be commented out if causes errors
Options +FollowSymLinks
# Make YuanPad handle any 404 errors.
ErrorDocument 404 /index.php
# Force simple error message for requests for non-existent favicon.ico.
<Files favicon.ico>
# There is no end quote below, for compatibility with Apache 1.3.
ErrorDocument 404 "The requested file favicon.ico was not found.
</Files>
# Set the default handler.
DirectoryIndex index.php
# Override PHP settings.
# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
php_value auto_append_file none
php_flag session.cookie_httponly on
</IfModule>