Re: newbie - deploy error

2007-03-30 Thread [EMAIL PROTECTED]
Frank, you may want to confirm that you can import mysite3 from Python. You may want to ensure that mysite3 is within your python site- packages or there is a symbolic link (tougher to do on windows) to the mysite3 folder. Or place the mysite3 folder (for testing) right in the site-packages folder

Re: newbie - deploy error

2007-03-28 Thread Frank
Hello, I followed step 4 from http://www.djangobook.com/en/beta/chapter21/ mysite works, but mysite3 goes not. Is the instructions wrong? Thanks Frank ServerName cmcfrocco.stemc.org SetHandler python-program PythonPath "['C:\djangoapps'] + sys.path" PythonHandler django.

Re: newbie - deploy error

2007-03-27 Thread Frank Rocco
Can't I have a deploy like ASP or PHP apps that use the same port and use a different directory for each app? Thanks Frank On Mar 27, 2007, at 5:30 PM, risomt wrote: > > You have both virtual hosts connecting on the same port - switch > mysite3 to something like :8081 and it should work > > O

Re: newbie - deploy error

2007-03-27 Thread risomt
You have both virtual hosts connecting on the same port - switch mysite3 to something like :8081 and it should work On Mar 27, 5:11 pm, "Frank" <[EMAIL PROTECTED]> wrote: > mysite works > mysite3 gives me a 404 error > I guess I still have something wrong. > > Thanks > Frank > > NameVirtualHost *

Re: newbie - deploy error

2007-03-27 Thread Frank
mysite works mysite3 gives me a 404 error I guess I still have something wrong. Thanks Frank NameVirtualHost * ServerName mysite SetHandler python-program PythonPath "['C:\djangoapps'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MOD

Re: newbie - deploy error

2007-03-27 Thread risomt
Heres what I have: SetHandler python-program PythonHandler django.core.handlers.modpython PythonPath "sys.path + ['C:/web/html/projects/']" SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonDebug On With: DocumentRoot "C:/web/" If you dont correctly set the python path

Re: newbie - deploy error

2007-03-27 Thread Greg Donald
On 3/27/07, Frank <[EMAIL PROTECTED]> wrote: > > Do I still need to so the Location setting in httpd.conf? > > > SetHandler python-program > PythonPath "['C:\djangoapps'] + sys.path" > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE mysite.settings > PythonDebug On >

Re: newbie - deploy error

2007-03-27 Thread Frank
- From: <[EMAIL PROTECTED]> To: "Django users" Sent: Tuesday, March 27, 2007 4:34 PM Subject: Re: newbie - deploy error > > Generally I run multiple multiple django instances on different ports > - however the same should work within a location or folder (I think). &

Re: newbie - deploy error

2007-03-27 Thread [EMAIL PROTECTED]
Generally I run multiple multiple django instances on different ports - however the same should work within a location or folder (I think). Just make sure the SetEnv reflects the other application: SetEnv DJANGO_SETTINGS_MODULE myapp.settings SetEnv DJANGO_SETTINGS_MODULE myapp2.settings Sample f

Re: newbie - deploy error

2007-03-27 Thread frocco
I managed to get this working with these settings: SetHandler python-program PythonPath "['C:\djangoapps'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonDebug On I still need to be able to do http://localhost/app1 http://localhost

Re: newbie - deploy error

2007-03-27 Thread frocco
I forgot to say I am on Windows XP On Mar 27, 2:36 pm, "frocco" <[EMAIL PROTECTED]> wrote: > Hello, > > I am new to Python and dJango. > I am trying to get the tutorial gtd to run on Apache. > I installed mod_python and placed gtd directory into htdocs directory. > I do not understand how to reso

newbie - deploy error

2007-03-27 Thread frocco
Hello, I am new to Python and dJango. I am trying to get the tutorial gtd to run on Apache. I installed mod_python and placed gtd directory into htdocs directory. I do not understand how to resolve this. I goal is to run multiple apps in apache. ecample: http://localhost/app1 http://localhost/app