I've got this in my Apache httpd.conf:

<Location "/mysite/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    PythonPath "['/var/www/dev.django.exampleurl.co.uk/'] + sys.path"
    SetEnv DJANGO_SETTINGS_MODULE mysite.settings
    PythonDebug On
</Location>

I also have this set up in my vhosts:

<VirtualHost *>
        ServerName dev.django.exampleurl.co.uk
        DocumentRoot /var/www/dev.django.exampleurl.co.uk/
        PythonPath "['/var/www/dev.django.exampleurl.co.uk/'] +
sys.path"
        SetEnv mysite.settings
</VirtualHost>


If I access the site on "http://dev.django.exampleurl.co.uk/mysite/"; I
get the pretty welcome message. However when I enable the routing
rules for the generated admin area I get nasty messages telling me
(understandably) that the rules have not matched anything ^admin/.

I'm worried that I haven't set this up properly, because in effect the
application (which is for test purposes) should really run off the
main domain rather than requiring to be accessed through a folder.

Any ideas appreciated

James


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to