nach dem ich nun eine halbe Ewigkeit mit Apache und mod_wsgi gekämpft habe, funktioniert das nun anscheienend so weit, dass er erkennt, welches Directory er per wsgi/django ansteuern soll. (Hab durch die Architektur noch nicht so ganz durchgeblickt.) Ich bin hierfür nach diesem Tutorial vorgegangen: http://blog.stannard.net.au/2010/12/11/ ... ntu-10-04/
Das Problem ist nun folgendes.
Meine urls.config funktioniert Lokal wunderbar über 127.0.0.1:8000/Quotes/
Wenn ich das ganze nun auf meinem Server ansehen möchte über meineurl.de/Quotes funktioniert es nicht.
Code: Alles auswählen
Page not found (404)
Request Method: GET
Request URL: http://meineurl.de/Quotes/
Using the URLconf defined in Quotes.urls, Django tried these URL patterns, in this order:
^Quotes/$
^Quotes/search/$
^Quotes/admin/
^static/(?P<path>.*)$
^Quotes/(?P<quote_id>\d+)/$
The current URL, , didn't match any of these.
Meine sites-enabled/quotes Datei sieht wie folgt aus:
Code: Alles auswählen
<VirtualHost *:80>
ServerName meineurl.de
DocumentRoot /srv/www/Quotes
<Directory /srv/www/Quotes>
Order allow,deny
Allow from all
</Directory>
WSGIDaemonProcess chris processes=2 threads=15 display-name=%{GROUP}
WSGIProcessGroup chris
WSGIScriptAlias /Quotes /srv/www/Quotes/apache/django.wsgi
</VirtualHost>
Danke im Voraus.
Gruß,
Chris