-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
25 lines (23 loc) · 979 Bytes
/
.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
#==============================================================
# DISABLE INDEX FOLDER
#==============================================================
Options -Indexes
#--------------------------------------------------------------#
#==============================================================
# CODEIGNITER HTACCESS
#==============================================================
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/ [PT,L]
#--------------------------------------------------------------#
#==============================================================
# CODEIGNITER ENVIRONMENT
#==============================================================
<IfModule mod_env.c>
SetEnv TIME_REFRENCE Asia/Jakarta
SetEnv CI_ENV development
SetEnv ACTIVE_DATABASE_GROUP default
Header set Access-Control-Allow-Origin "*"
</IfModule>
#--------------------------------------------------------------#