[mod_python] mod_python problem

John Aherne johna at johnaherne.co.uk
Tue Nov 2 15:15:57 EST 2004


Mark Eret wrote:

> I forgot to include that.  I am indeed loading the module in 
> /etc/apache/modules.conf.  The line is as follows:LoadModule 
> python_module /usr/lib/apache/1.3/mod_python.so
>
> On Nov 2, 2004, at 11:13 AM, Jorey Bump wrote:
>
>> Mark Eret wrote:
>>
>>> Hello there,
>>> I have Apache 1.3.31 running and mod_python 2.7.10-3 (I believe) on 
>>> Debian's testing distrubution ('sarge').  I installed mod_python and 
>>> Apache using 'apt-get' (apt-get install apache, apt-get install 
>>> libapache-mod-python).  I tried to follow the instructions for 
>>> testing my installation given in 
>>> http://www.modpython.org/live/mod_python-2.7/doc/inst-testing.html, 
>>> but I can't get it to work.  I followed them to the letter.
>>> My httpd.conf contains the following:
>>> <Directory /var/www/test>
>>>         AddHandler mod_python .py
>>>         PythonHandler mptest
>>>         PythonDebug On
>>> </Directory>
>>
>>
>> Are you loading the module? httpd.conf should contain something like 
>> the following:
>>
>>  LoadModule python_module /usr/lib/apache/1.3/mod_python.so
>>
>> This is the path on woody, but it may have changed on sarge.
>>
>> _______________________________________________
>> Mod_python mailing list
>> Mod_python at modpython.org
>> http://mailman.modpython.org/mailman/listinfo/mod_python
>>
>
> Mark Eret
>
> "Yields falsehood when appended to its own quotation," yields 
> falsehood when appended to its own quotation.
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>
Thanks for the info. Much appreciated.

It looks like redirect is not a good option if you want to use cookies. 
I'll have to take a look at doing it some other way.

If anyone has got any ideas of a better way of moving from page to page 
I'll be glad to hear.

Thanks

John Aherne


More information about the Mod_python mailing list