diff options
Diffstat (limited to 'apache')
| -rw-r--r-- | apache/apache-wsgi-pip.conf | 13 | ||||
| -rw-r--r-- | apache/apache-wsgi.conf | 3 |
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 |
