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
c5608a5b
Commit
c5608a5b
authored
Aug 04, 2015
by
Julien Furrer
Browse files
Regenerated apache/staging.conf
parent
a5ddaa28
Changes
1
Hide whitespace changes
Inline
Side-by-side
adim_project/adim_project/apache/staging.conf
View file @
c5608a5b
...
...
@@ -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
...
...
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