Gitlab CSE Unil

Commit 00bac00d authored by Julien Furrer's avatar Julien Furrer
Browse files

Corrigé apache base.conf template et staging.conf settings

parent e865276b
......@@ -79,7 +79,6 @@
RedirectMatch ^/adim-dev$ /adim-dev/
<Location "/adim-dev/">
<IfModule rewrite_module>
RewriteEngine On
## Retourne une 404 pour media/protected au lien d'une 403
......@@ -89,7 +88,6 @@
#RewriteCond %{REQUEST_URI} !^/static/.*$
#RewriteRule ^.*$ /maintenance.html
</IfModule>
</Location>
<Location "/adim-dev/admin/">
<IfModule rewrite_module>
......
......@@ -98,7 +98,6 @@
{% endblock wsgi %}
{% block rewrite_protected %}
<Location "{{ settings.BASE_URL|default:"/" }}">
<IfModule rewrite_module>
RewriteEngine On
## Retourne une 404 pour media/protected au lien d'une 403
......@@ -108,7 +107,6 @@
#RewriteCond %{REQUEST_URI} !^/static/.*$
#RewriteRule ^.*$ /maintenance.html
</IfModule>
</Location>
{% endblock rewrite_protected %}
{% block rewrite_admin_protected %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment