source:
server/etc/apache.conf.tmpl
@
213a832
Last change on this file since 213a832 was 6b22f15, checked in by , 10 years ago | |
---|---|
|
|
File size: 476 bytes |
Rev | Line | |
---|---|---|
[6b22f15] | 1 | # OpenGnsys Web Admin Console template configuration for Apache. |
[30837bb] | 2 | |
3 | Alias /opengnsys CONSOLEDIR | |
4 | ||
[ea60f41] | 5 | # Overrides default CentOS php.ini configuration. |
6 | php_value short_open_tag on | |
7 | ||
[30837bb] | 8 | <Directory CONSOLEDIR> |
[f9e3393] | 9 | Require all granted |
10 | Options -Indexes +FollowSymLinks | |
11 | DirectoryIndex index.php | |
[30837bb] | 12 | </Directory> |
[6b22f15] | 13 | |
14 | # RESTful configuration. | |
[7829e4e] | 15 | <Directory CONSOLEDIR/rest> |
[6b22f15] | 16 | RewriteEngine On |
17 | RewriteBase /opengnsys/rest/ | |
18 | RewriteCond %{REQUEST_FILENAME} !-f | |
19 | RewriteRule ^ index.php [QSA,L] | |
[7829e4e] | 20 | </Directory> |
Note: See TracBrowser
for help on using the repository browser.