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
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
> 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"
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"
4 matches
Mail list logo