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
Line | |
---|
1 | # OpenGnsys Web Console template configuration for Apache. |
---|
2 | |
---|
3 | Alias /opengnsys CONSOLEDIR |
---|
4 | |
---|
5 | RewriteEngine On |
---|
6 | |
---|
7 | # Redirect HTTP to HTTPS and default configuration. |
---|
8 | <Directory CONSOLEDIR> |
---|
9 | RewriteCond %{HTTPS} !=on |
---|
10 | RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R] |
---|
11 | Options -Indexes FollowSymLinks |
---|
12 | DirectoryIndex index.php |
---|
13 | AddType octet/stream .pkg |
---|
14 | </Directory> |
---|
15 | # Redirect HTTP to HTTPS and RESTful configuration. |
---|
16 | <Directory CONSOLEDIR/rest> |
---|
17 | RewriteBase /opengnsys/rest/ |
---|
18 | RewriteCond %{HTTPS} !=on |
---|
19 | RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R] |
---|
20 | RewriteCond %{REQUEST_FILENAME} !-f |
---|
21 | RewriteRule ^ index.php [QSA,L] |
---|
22 | </Directory> |
---|
Note: See
TracBrowser
for help on using the repository browser.