source: server/etc/apache.conf.tmpl @ 363c760

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
Last change on this file since 363c760 was 41876cb, checked in by ramon <ramongomez@…>, 8 years ago

#814: Dejar de permitir etiquetas cortas en configuración del módulo PHP para Apache.

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5505 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 732 bytes
RevLine 
[6b22f15]1# OpenGnsys Web Admin Console template configuration for Apache.
[30837bb]2
3Alias /opengnsys CONSOLEDIR
4
[53419be]5RewriteEngine On
6
7# Redirect HTTP to HTTPS and default configuration.
[30837bb]8<Directory CONSOLEDIR>
[53419be]9        RewriteCond %{HTTPS} !=on
10        RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R]
[f9e3393]11        Require all granted
12        Options -Indexes +FollowSymLinks
13        DirectoryIndex index.php
[53419be]14        AddType octet/stream .pkg
[30837bb]15</Directory>
[6b22f15]16
[53419be]17# Redirect HTTP to HTTPS and RESTful configuration.
[7829e4e]18<Directory CONSOLEDIR/rest>
[6b22f15]19        RewriteBase /opengnsys/rest/
[21e2ab8]20        RewriteRule .? - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
[53419be]21        RewriteCond %{HTTPS} !=on
22        RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R]
[6b22f15]23        RewriteCond %{REQUEST_FILENAME} !-f
24        RewriteRule ^ index.php [QSA,L]
[7829e4e]25</Directory>
Note: See TracBrowser for help on using the repository browser.