918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Rev | Line | |
---|
[d7fe54a] | 1 | # OpenGnsys Web Console template configuration for Apache. |
---|
[f9e3393] | 2 | |
---|
| 3 | Alias /opengnsys CONSOLEDIR |
---|
| 4 | |
---|
[53419be] | 5 | RewriteEngine On |
---|
| 6 | |
---|
[f9e3393] | 7 | # Overrides default CentOS php.ini configuration. |
---|
| 8 | php_value short_open_tag on |
---|
| 9 | |
---|
[53419be] | 10 | # Redirect HTTP to HTTPS and default configuration. |
---|
[f9e3393] | 11 | <Directory CONSOLEDIR> |
---|
[53419be] | 12 | RewriteCond %{HTTPS} !=on |
---|
| 13 | RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R] |
---|
[f9e3393] | 14 | Options -Indexes FollowSymLinks |
---|
| 15 | DirectoryIndex index.php |
---|
[53419be] | 16 | AddType octet/stream .pkg |
---|
[f9e3393] | 17 | </Directory> |
---|
[53419be] | 18 | # Redirect HTTP to HTTPS and RESTful configuration. |
---|
[7829e4e] | 19 | <Directory CONSOLEDIR/rest> |
---|
[53419be] | 20 | RewriteBase /opengnsys/rest/ |
---|
| 21 | RewriteCond %{HTTPS} !=on |
---|
| 22 | RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R] |
---|
| 23 | RewriteCond %{REQUEST_FILENAME} !-f |
---|
| 24 | RewriteRule ^ index.php [QSA,L] |
---|
[7829e4e] | 25 | </Directory> |
---|
Note: See
TracBrowser
for help on using the repository browser.