~intrahealth+informatics/ihris-manage/4.3.3-release

« back to all changes in this revision

Viewing changes to packaging-site-blank/targets/vivid/etc/apache2/sites-available/ihris-manage-site.conf

  • Committer: Nobert Mijumbi
  • Date: 2018-04-10 17:10:46 UTC
  • Revision ID: nobertmn@gmail.com-20180410171046-c7if94waafb4jcni
Tags: 4.3.1.2-ubuntu-site-blank-release
"Ubuntu Blank Site Release Version 4.3.1.2"

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Alias /iHRIS/ihris-manage-site /var/lib/iHRIS/sites/ihris-manage-site/pages
2
 
<Directory /var/lib/iHRIS/sites/ihris-manage-site/pages>
3
 
DirectoryIndex index.php
4
 
Options Indexes FollowSymLinks
5
 
AllowOverride All
6
 
Require all granted
7
 
# Configure RewriteBase to be the path in your web root for this directory
8
 
# and rename this file to .htaccess
9
 
# Make sure your apache config allows overwrite these options
10
 
<IfModule mod_rewrite.c>
11
 
    RewriteEngine On
12
 
    RewriteBase  /iHRIS/ihris-manage-site
13
 
    DirectoryIndex index.php
14
 
    ErrorDocument 403 index.php/home
15
 
    ErrorDocument 404 index.php/home   
16
 
    RewriteRule (^/?$) home [L] 
17
 
    RewriteCond %{REQUEST_FILENAME} !-f
18
 
    RewriteCond %{REQUEST_FILENAME} !-d
19
 
    RewriteRule (.*) index.php/$1 [L]
20
 
    SetEnv I2CE_Rewritten On
21
 
</IfModule>
22
 
#turn off magic quotes -- deprecated in php 5.3
23
 
#php_flag magic_quotes_gpc off
24
 
</Directory>