1
# Configure RewriteBase to be the path in your web root for this directory
2
# and rename this file to .htaccess
3
# Make sure your apache config allows overwrite these options
4
<IfModule mod_rewrite.c>
6
RewriteBase /ihris/manage/Demo
7
DirectoryIndex index.php
8
ErrorDocument 403 index.php/home
9
ErrorDocument 404 index.php/home
10
RewriteRule (^/?$) home [L]
11
RewriteCond %{REQUEST_FILENAME} !-f
12
RewriteCond %{REQUEST_FILENAME} !-d
13
RewriteRule (.*) index.php/$1 [L]
14
SetEnv I2CE_Rewritten On
16
#turn off magic quotes
17
php_flag magic_quotes_gpc off