~intrahealth+informatics/+junk/ihris-meta

« back to all changes in this revision

Viewing changes to i2ce-ihris-manage-site-demo/pages/htaccess-TEMPLATE

  • Committer: Mark A. Hershberger
  • Date: 2009-09-03 17:42:45 UTC
  • Revision ID: mhershberger@intrahealth.org-20090903174245-1mi3j3ig7r2uui34
Add blank site, move sample data to separate package from -all.

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/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
15
 
</IfModule>
16
 
#turn off magic quotes
17
 
php_flag magic_quotes_gpc off