no, as then i would need to use, for example... www.website.net/mysite/*
instead of www.website.net/* for the various apps.

as i said the locations worked perfectly before attempting to create
the virtual host. right now i need to have this virtual host point to
the correct website on my server.

would i change server name to be an ip address? as each website on my
server has a unique address, while having the same port? since 80 is
the open port for apache

On Jan 3, 8:47 pm, Graham Dumpleton <graham.dumple...@gmail.com>
wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to