Current time: 11-24-2024, 01:32 AM Hello There, Guest! (LoginRegister)


Post Reply 
Django Framework
Author Message
snoy_ms Offline
Junior Member
*

Posts: 18
Joined: Oct 2007
Reputation: 0
Post: #6
RE: Django Framework
Ich glaube eine reine Installation der libapache2-mod-python reicht nicht. Allein die vhosts sehen etwas anders als sonst aus...


Quote:<VirtualHost *:8000>

<Location "/">
SetHandler mod_python
PythonHandler django.core.handlers.modpython
PythonPath "['/home/tim/dev/projects/'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE djangosite.settings
PythonDebug On
</Location>

Alias /media "/var/www/djangosite/media"
<Location "/media/">
SetHandler None
</Location>

<LocationMatch "\.(jpg|gif|png)$">
SetHandler None
</LocationMatch>

</VirtualHost>

Hier die passende Anleitung...
http://blog.timc3.com/2006/07/26/django-with-apache2/
11-15-2007 11:28 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Django Framework - snoy_ms - 11-10-2007, 10:09 PM
RE: Django Framework - gOOvER - 11-11-2007, 05:03 PM
RE: Django Framework - snoy_ms - 11-11-2007, 09:39 PM
RE: Django Framework - gOOvER - 11-11-2007, 11:57 PM
RE: Django Framework - snoy_ms - 11-12-2007, 05:30 AM
RE: Django Framework - snoy_ms - 11-15-2007 11:28 PM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)