source: server/etc/apache-prev2.4.conf.tmpl @ 2fae617b

webconsole3
Last change on this file since 2fae617b was 1236d17, checked in by jm.bardallo <juanmanuel.bardallo@…>, 7 years ago

añadidos nuevamente los ficheros de opengnsys del branch devel, se habían quitado por error

  • Property mode set to 100644
File size: 640 bytes
RevLine 
[1236d17]1# OpenGnsys Web Console template configuration for Apache.
2
3Alias /opengnsys CONSOLEDIR
4
5RewriteEngine 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.