-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
52 lines (45 loc) · 1.66 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
<IfModule rewrite_module>
Options -MultiViews
RewriteEngine on
RewriteRule ^$ public/ [L,QSA]
RewriteRule ^(.*)$ public/$1 [L,QSA]
</IfModule>
<IfModule setenvif_module>
<IfModule headers_module>
<FilesMatch "\.(cur|gif|ico|jpe?g|png|svgz?|webp)$">
SetEnvIf Origin ":" IS_CORS
Header set Access-Control-Allow-Origin "*" env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>
php_value date.timezone 'Africa/Accra'
php_flag file_uploads On
php_value upload_max_filesize 100M
php_value post_max_size 105M
php_value max_execution_time 90
#php_value xdebug.start_with_request trigger #php_value xdebug.remote_mode req
#php_value xdebug.mode=debug #php_flag xdebug.remote_enable On #Can only be used in ini files
#php_value xdebug.start_with_request yes #php_flag xdebug.remote_autostart On
#php_value xdebug.start_upon_error yes #php_value xdebug.remote_mode jit
# PHP error handling for development servers
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 C:/xampp/htdocs/fms/PHP_errors.log
# [see footnote 3] # php_value error_reporting 999999999
php_value error_reporting -1
php_value log_errors_max_len 0
<Files PHP_errors.log>
Order allow,deny
Deny from all
Satisfy All
</Files>
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Headers: "customKey1,customKey2, headers, Pragma, Origin, X-Requested-With, Content-Type, Accept, Accept-Encoding, Authorization"