Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
ADIM
Commits
e865276b
Commit
e865276b
authored
Aug 03, 2015
by
Julien Furrer
Browse files
maj staging.conf apache
parent
71c93372
Changes
1
Hide whitespace changes
Inline
Side-by-side
adim_project/adim_project/apache/staging.conf
View file @
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
>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment