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
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.
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
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 *
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
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
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
>
-
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).
&
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
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
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
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
12 matches
Mail list logo