Current time: 05-20-2024, 07:51 AM Hello There, Guest! (LoginRegister)


Post Reply 
Django Framework
Author Message
snoy_ms Offline
Junior Member
*

Posts: 18
Joined: Oct 2007
Reputation: 0
Post: #1
Django Framework
Kleine Frage am Rande,

jemand von euch Django in Verbindung mit isp-control am laufen?

Wenn ja, wie? Als mod für Apache?

Gruß,
Sascha ;-)
11-10-2007 10:09 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: Django Framework
http://www.djangoproject.com/ <- Das??

Da musst Du doch eigentlich nur Python installieren..... Und das sollte mit ispCP funktionieren (sonst würde Trac nicht laufen Smile )


Versuch einfach mal das:

Code:
apt-get install python libapache2-mod-python

Danach

Code:
/etc/init.d/apache2 restart
(This post was last modified: 11-11-2007 05:59 PM by gOOvER.)
11-11-2007 05:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
snoy_ms Offline
Junior Member
*

Posts: 18
Joined: Oct 2007
Reputation: 0
Post: #3
RE: Django Framework
Jo, danke. Werd ich gleich mal testen.
11-11-2007 09:39 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: Django Framework
ich habe das gerade bei mir versucht. Sobald ich mod_python installiere, ist meine Domain nicht mehr zu erreichen und ich komme nur auf die Login-Page von ispCP. Wenn es wieder deinstalliert wird geht wieder alles. Ist das bei Dir auch so?
11-11-2007 11:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
snoy_ms Offline
Junior Member
*

Posts: 18
Joined: Oct 2007
Reputation: 0
Post: #5
RE: Django Framework
Ohh, habe deinen Post gelesen, bevor ich Zeit habe es selbst zu probieren.
Da mein Server gerade produktiv im Einsatz ist, teste ich es lieber doch im lokalen Netz.

Danke für deinen Test !!! Werde es auch so schnell es geht prüfen...

Gruß,
Sascha
11-12-2007 05:30 AM
Find all posts by this user Quote this message in a reply
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 


Forum Jump:


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