[mod_python] Re: open a simple file

StianSøiland stian at soiland.no
Fri Nov 7 11:37:33 EST 2003


On 2003-11-07 00:49:06, elvelind grandin wrote:

> New to python and newer to mod_python so sorry if this is a newbie question.
> I'm have a where simple handler just for test that should open a html 
> file and writing it out.
> The problem is that it cant found the file. iv tried with test.html and 
> the absolute path and none work. is there something I'm missing?

Have you made sure the file is readable for the user running the apache
process?

-- 
Stian Søiland               Work toward win-win situation. Win-lose
Trondheim, Norway           is where you win and the other lose.
http://www.soiland.no/      Lose-lose and lose-win are left as an
                            exercise to the reader.  [Limoncelli/Hogan]



More information about the Mod_python mailing list