Gitlab CSE Unil

Commit c5608a5b authored by Julien Furrer's avatar Julien Furrer
Browse files

Regenerated apache/staging.conf

parent a5ddaa28
......@@ -4,7 +4,7 @@
## Static paths
## ------------
Alias /adim-dev/static/ "/var/django/projects/adim-dev.django/adim_project/static/"
<Directory "/var/django/projects/adim-dev.django/adim_project/static">
Options +FollowSymLinks -Indexes
Order deny,allow
......@@ -34,7 +34,7 @@
<Directory "/var/django/projects/adim-dev.django/adim_project/media/ao_images/">
Order allow,deny
Deny from all
# --------------
# XsendFile Conf
# --------------
......@@ -42,7 +42,7 @@
XSendFile On
XSendFilePath "/var/django/projects/adim-dev.django/adim_project/media"
</IfModule>
</Directory>
# ---------------
......@@ -76,9 +76,9 @@
Allow from all
</Files>
</Directory>
RedirectMatch ^/adim-dev$ /adim-dev/
<IfModule rewrite_module>
RewriteEngine On
## Retourne une 404 pour media/protected au lien d'une 403
......@@ -89,7 +89,7 @@
#RewriteRule ^.*$ /maintenance.html
</IfModule>
<Location "/adim-dev/admin/">
<Location "/adim-dev/s-412-5/admin/">
<IfModule rewrite_module>
RewriteEngine On
## Retourne une 404 au lien d'une 403
......
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