Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LoadModule wsgi_module modules/mod_wsgi.so
- <VirtualHost *:80>
- WSGIDaemonProcess mart.localhost user=mart group=users processes=2 threads=25
- WSGIProcessGroup mart.localhost
- LogLevel debug
- Alias /media /home/mart/programmation/python/django/martfiles/media/
- <Directory /home/mart/programmation/python/django/martfiles/>
- Order allow,deny
- Allow from all
- </Directory>
- WSGIScriptAlias / /srv/http/wsgi-scripts/django.wsgi
- </VirtualHost>
- <html> <head>
- <link rel="stylesheet" href="/media/css/style.css" />
- [Sat Jan 16 13:22:21 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /media/css/style.css denied, referer: http://localhost/
- [Sat Jan 16 13:22:21 2010] [info] mod_wsgi (pid=14783): Attach interpreter ''
- WSGIScriptAlias / /srv/http/wsgi-scripts/django.wsgi
- <Directory /home/mart/programmation/python/django/martfiles/>
- <Directory /srv/http/wsgi-scripts/>
- Order allow,deny
- Allow from all
- </Directory>
- <VirtualHost *:80>
- # Admin email, Server Name (domain name) and any aliases
- ServerAdmin testing@example.de
- ServerName www.example.de
- DocumentRoot /home/example/testing/parts/public
- Alias /media /home/example/testing/parts/public/media
- # WSGI Settings
- WSGIDaemonProcess example user=example group=example threads=25
- WSGIProcessGroup example
- WSGIScriptAlias / /home/example/testing/parts/public/django.wsgi
- <Directory "/home/example/testing/parts/public">
- # Allow Apache to follow links
- Options FollowSymLinks
- # Turn on the ability to use .htaccess files
- AllowOverride All
- # Controls who can get stuff from this directory
- Order allow,deny
- Allow from all
- </Directory>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement