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

918-git-images-111dID-1020_logrotateBugID-1037_Mostrar.TipoDisco.WebID-1038_Muestra.el.numero.de.ordenadoresID-1039_Asignar_Disco.Particion.Imagen.AccesoRemotoID-824_Iniciar.Sistema.Restauradoblank-panelconfigfiledebian-pkgdevel-ogadmserver-for-masterdisk-imagemainmaster-1037opengnsys-1.1.1dprepjlinkqndtestwebconsole3
Last change on this file since b9bdfa0 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
Line 
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.