summaryrefslogtreecommitdiff
path: root/apache
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-10-14 16:55:22 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-10-14 16:55:22 +0200
commitea65e5512c236b81e7f4b8757521facadae4b3b8 (patch)
tree739cdf40fb6a89de90c4189936d695288a82849f /apache
parent4b0f0777c434f5fa1366ca408c34d257d4833fad (diff)
parenta55f77a246f99764ff6289686f80825526654e2b (diff)
downloadChimère-ea65e5512c236b81e7f4b8757521facadae4b3b8.tar.bz2
Chimère-ea65e5512c236b81e7f4b8757521facadae4b3b8.zip
Merge branch 'master' into saclay
Conflicts: chimere/admin.py chimere/fixtures/initial_data.json chimere/forms.py chimere/locale/fr/LC_MESSAGES/django.po chimere/models.py chimere/static/chimere/css/styles.css chimere/templates/chimere/detail.html chimere/templatetags/chimere_tags.py chimere/views.py chimere/widgets.py
Diffstat (limited to 'apache')
-rw-r--r--apache/apache-wsgi-pip.conf13
-rw-r--r--apache/apache-wsgi.conf3
2 files changed, 15 insertions, 1 deletions
diff --git a/apache/apache-wsgi-pip.conf b/apache/apache-wsgi-pip.conf
new file mode 100644
index 0000000..df690d2
--- /dev/null
+++ b/apache/apache-wsgi-pip.conf
@@ -0,0 +1,13 @@
+<VirtualHost *:80>
+ ServerName chimere.example.com
+ WSGIDaemonProcess chimere processes=2 maximum-requests=500 threads=1
+ WSGIProcessGroup chimere
+ WSGIScriptAlias / /var/local/chimere/apache/mydjango.wsgi
+ Alias /static "/var/local/chimere/mychimere_project/static"
+ Alias /admin/doc "/var/local/chimere/docs/_build/html/"
+
+ ErrorLog ${APACHE_LOG_DIR}/chimere/error.log
+ LogLevel warn
+ CustomLog ${APACHE_LOG_DIR}/chimere/access.log combined
+
+</VirtualHost>
diff --git a/apache/apache-wsgi.conf b/apache/apache-wsgi.conf
index 4bd2b81..3ed1b1d 100644
--- a/apache/apache-wsgi.conf
+++ b/apache/apache-wsgi.conf
@@ -2,8 +2,9 @@
ServerName chimere.example.com
WSGIDaemonProcess chimere processes=2 maximum-requests=500 threads=1
WSGIProcessGroup chimere
- WSGIScriptAlias / /var/local/chimere/chimere/apache/mydjango.wsgi
+ WSGIScriptAlias / /var/local/chimere/apache/mydjango.wsgi
Alias /static "/var/local/chimere/mychimere_project/static"
+ Alias /admin/doc "/var/local/chimere/docs/_build/html/"
Alias /tinymce "/usr/share/tinymce/www"
<Directory "/usr/share/tinymce/www/">
Options Indexes MultiViews FollowSymLinks