-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
61 lines (51 loc) · 1.3 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Options FollowSymLinks Includes MultiViews SymLinksIfOwnerMatch
Header set Access-Control-Allow-Origin "*"
<Files *>
Order allow,deny
Deny from all
</Files>
<Files ~ "^$">
Order allow,deny
allow from all
AcceptPathInfo On
ForceType application/x-httpd-php
</Files>
<Files ~ "^index.php$">
Order allow,deny
allow from all
AcceptPathInfo On
ForceType application/x-httpd-php
</Files>
# Others Scripts
<Files ~ "\.(css|js|txt|csv)$">
Order allow,deny
allow from all
</Files>
# entries
<Files ~ "(dictionary|save)$">
Order allow,deny
allow from all
AcceptPathInfo On
ForceType application/x-httpd-php
# AuthName "Unauthorized access"
# ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=check?redirect\"></html>"
# AuthType Basic
# AuthUserFile etc/.htpasswd
# Require valid-user
</Files>
AddDefaultCharset ISO-8859-1
# PHP error handling for development servers
php_flag register_globals on
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_reporting -1
php_value log_errors_max_len 0
php_value error_log /tmp/php.log