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

qndtest
Last change on this file was 41876cb, checked in by ramon <ramongomez@…>, 6 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: 640 bytes
RevLine 
[d7fe54a]1# OpenGnsys Web Console template configuration for Apache.
[f9e3393]2
3Alias /opengnsys CONSOLEDIR
4
[53419be]5RewriteEngine On
6
7# Redirect HTTP to HTTPS and default configuration.
[f9e3393]8<Directory CONSOLEDIR>
[53419be]9        RewriteCond %{HTTPS} !=on
10        RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R]
[f9e3393]11        Options -Indexes FollowSymLinks
12        DirectoryIndex index.php
[53419be]13        AddType octet/stream .pkg
[f9e3393]14</Directory>
[53419be]15# Redirect HTTP to HTTPS and RESTful configuration.
[7829e4e]16<Directory CONSOLEDIR/rest>
[53419be]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]
[7829e4e]22</Directory>
Note: See TracBrowser for help on using the repository browser.