Renaming wsgi stuff
This commit is contained in:
1 parent
5e9163fb4b
commit
4d70af010d
2 files changed
-34
No files matched your search
@@ -1,34 +0,0 @@
|
|||||||
# To use this application with apache, create a virtual-host directive and add the following:
|
|
||||||
|
|
||||||
# need to add both the path above the project and the project path itself
|
|
||||||
WSGIPythonPath /path/to/project:/path/to/project/dns_mdb
|
|
||||||
|
|
||||||
<VirtualHost *:80>
|
|
||||||
ServerAdmin sysadmin@example.com
|
|
||||||
ServerAlias mdb.example.com
|
|
||||||
DocumentRoot /var/www/example.com
|
|
||||||
CustomLog /var/www/example.com/log/access.log combined
|
|
||||||
ErrorLog /var/www/example.com/log/error.log
|
|
||||||
|
|
||||||
Alias /robots.txt /var/www/example.com/mdb/robots.txt
|
|
||||||
Alias /favicon.ico /var/www/example.com/mdb/favicon.ico
|
|
||||||
|
|
||||||
AliasMatch ^/([^/]*\.css) /var/www/example.com/mdb/static/styles/$1
|
|
||||||
|
|
||||||
Alias /static/ /var/www/example.com/mdb/static/
|
|
||||||
|
|
||||||
<Directory /var/www/example.com/mdb/static>
|
|
||||||
Order deny,allow
|
|
||||||
Allow from all
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
WSGIScriptAlias / /path/to/project/dns_mdb/apache/django.wsgi
|
|
||||||
|
|
||||||
<Directory /var/www/example.com/mdb/scripts>
|
|
||||||
Order allow,deny
|
|
||||||
Allow from all
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
|
|
||||||
File renamed without changes.
Reference in new issue
Block a user