On Jan 4, 12:17 pm, garagefan <monkeygar...@gmail.com> wrote:
> I've read the documentation, and it doesn't seem clear enough, or
> provide a fully working example?
>
> i've copied what i have in my python.conf file, keep in mind that i
> have removed site specific names and have made them generic
>
> NameVirtualHost *:80
>
> <VirtualHost *:80>
> ServerNamewww.website.net
>
> <Location "/">
Presumably you mean /mysite here and not the root of the web server.
This needs to match what you have set django.root to.
Graham
> SetHandler python-program
> PythonHandler django.core.handlers.modpython
> SetEnv DJANGO_SETTINGS_MODULE mysite.settings
> PythonOption django.root /mysite
> PythonDebug On
> PythonPath "['/home/html'] + sys.path"
> </Location>
> <Location "/styles">
> SetHandler None
> </Location>
> <Location "/images">
> SetHandler None
> </Location>
> </VirtualHost>
>
> i get no python errors, however when i go to the site i receive
> nothing. these locations worked previous to attempting to set up a
> virtual host. i assume *:80 is the port? in which case, i suppose it
> may be possible that the port is incorrect? in which case, i'm unsure
> as to where to check this... i assume under the apache conf file?
--~--~---------~--~----~------------~-------~--~----~
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
django-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---