~begerega/ihris-chw-sl/trunk

« back to all changes in this revision

Viewing changes to pages/htaccess.TEMPLATE

  • Committer: Ese Egerega
  • Date: 2018-05-03 14:17:04 UTC
  • Revision ID: egerega@gmail.com-20180503141704-3br8dto013rgx65x
Initial import of Sierra Leone  CHW registry

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>
 
5
    RewriteEngine On
 
6
    RewriteBase  /iHRIS/manage
 
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
 
15
</IfModule>
 
16
#turn off magic quotes -- deprecated in php 5.3
 
17
#php_flag magic_quotes_gpc off
 
 
b'\\ No newline at end of file'