Re: cant access non-django web page after deploy django on localhost

2008-07-15 Thread Pepsi330ml
Hi, I managed to overcome the problem. In the httpd.conf: ServerName localhost #leave it as it is #use the IP address for ServerName as well. NameVirtualHost 127.1.1.1 ServerName 127.1.1.1 SetHandler python-program PythonHandler django.core.handlers.modpython Py

Re: cant access non-django web page after deploy django on localhost

2008-07-15 Thread Eric Abrahamsen
On Jul 15, 2008, at 3:15 PM, Evert wrote: > >> I deployed my Django Application onto the localhost using Apache. >> Below are the changes i did in the httpd.conf >> >> >>ServerName localhost >>SetHandler python-program >>PythonHandler django.core.handlers.modpython >>PythonDebug

Re: cant access non-django web page after deploy django on localhost

2008-07-15 Thread Evert
> I deployed my Django Application onto the localhost using Apache. > Below are the changes i did in the httpd.conf > > >    ServerName localhost >    SetHandler python-program >    PythonHandler django.core.handlers.modpython >    PythonDebug On >    PythonPath "['/xxx/', '/xxx/yyy'] + sys.path"

cant access non-django web page after deploy django on localhost

2008-07-14 Thread Pepsi330ml
Hi, I deployed my Django Application onto the localhost using Apache. Below are the changes i did in the httpd.conf ServerName localhost SetHandler python-program PythonHandler django.core.handlers.modpython PythonDebug On PythonPath "['/xxx/', '/xxx/yyy'] + sys.path"