Gitlab CSE Unil

Commit 64864c62 authored by Julien Furrer's avatar Julien Furrer
Browse files

Merge branch 'dev' of...

Merge branch 'dev' of pcpol200-3:/Users/jfurrer/JOB/___RISET/PROJECTS/Misc/AnnotationDImage/workspace/adim.django into dev
parents f864ea62 e865276b
......@@ -83,7 +83,7 @@
<IfModule rewrite_module>
RewriteEngine On
## Retourne une 404 pour media/protected au lien d'une 403
RewriteRule ^/adim-dev/media//ao_images/.*$ - [R=404,L,NS]
RewriteRule ^/adim-dev/media/ao_images/.*$ - [R=404,L,NS]
#RewriteCond %{REMOTE_ADDR} !^130.223.3.229$
#RewriteCond %{REQUEST_URI} !^/static/.*$
......@@ -91,5 +91,17 @@
</IfModule>
</Location>
</IfModule>
<Location "/adim-dev/admin/">
<IfModule rewrite_module>
RewriteEngine On
## Retourne une 404 au lien d'une 403
RewriteCond %{REMOTE_ADDR} !^130.223.72.159$
RewriteRule ^.*$ - [R=404,L,NS]
</IfModule>
<IfModule !rewrite_module>
Order allow,deny
Deny from all
</IfModule>
</Location>
</IfModule>
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