-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
36 lines (35 loc) · 1.28 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
DirectoryIndex index.php
# ErrorDocument 403 /common/error.php
# ErrorDocument 404 /common/error.php
# ## ErrorDocument 500 /common/error.php
#
# php_flag display_startup_errors on
# php_flag display_errors on
# php_flag html_errors on
# php_flag log_errors on
# php_value error_log /home/path/public_html/domain/PHP_errors.log
#
# ## following based on https://stackoverflow.com/a/34674114/20571
# # PHP error handling for DEVELOPMENT servers
# # These options are suited for a DEVELOPMENT server.
# # For a PRODUCTION server you should not display any error to the end user. So change the display flags to off.
# php_flag display_startup_errors on
# php_flag display_errors on
# php_flag html_errors on
# php_flag log_errors on
# php_flag ignore_repeated_errors off
# php_flag ignore_repeated_source off
# php_flag report_memleaks on
# php_flag track_errors on
# php_value docref_root 0
# php_value docref_ext 0
# php_value error_log /php_errors.log
# php_value error_reporting -1
# php_value log_errors_max_len 0
# # Give 777 or 755 permission to the log file
# <Files php_errors.log>
# Order allow,deny
# Deny from all
# Satisfy All
# </Files>
# ## end