[mod_python] test.py runs even when deleted

James Walker jameswalker at clear.net.nz
Thu Aug 17 10:02:52 EST 2000


Sorted.  Didn't realise that the .htaccess file actually had some stuff in it.  It's
directives were over-riding those I had in httpd.conf.  I commented those out and it
all started to behave as I was expecting.

Yah!  Off we go.

Cheers,
James.


James Walker wrote:

> I've gotten mod_python (from the RPM) working on my Linux 6.2/Apache 1.3.12 box.
>  I've sorted out all the <directory> stuff in httpd.conf and gotten the "Hello
> to the ...." appear when accessing test.py or for that matter t.py (yes I understand
> the "PythonHandler test" thing (I think)).
>
> Now the issue.  I've deleted test.py and have a helloworld.py which has the
> handler defined and which puts out a whole heap of html text.  However I still
> get the same "Hello to ..." text from test.py (which is deleted!).  This happens
> even after restarting apache and/or then rebooting the machine.
>
> Anyone able to figure that one out?  I'm really looking forward to getting into
> Python as I find it heaps easier to read/understand then Perl.  But while CGI
> based Python scripts is an option I would prefer mod_python.
>
> Hope somone can help,
> James Walker.
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python




More information about the Mod_python mailing list