Gregory (Grisha) Trubetskoy
grisha at modpython.org
Wed Dec 18 15:08:13 EST 2002
I take it back, what I said below isn't true, it won't work :) But I did patch up the latest CVS code so that it addresses this issue. Grisha On Tue, 17 Dec 2002, Gregory (Grisha) Trubetskoy wrote: > > On Tue, 3 Dec 2002, Damjan wrote: > > > My setup: > > apache 2.0.43, mod_python 3.0.1, python 2.2.1 > > > > httpd.conf: > > <Directory /home/www/htdocs> # The root of the web server > > ... > > SetHandler python-program > > PythonHandler mod_python.publisher | .py > > PythonDebug On > > </Directory> > > ... > > > > I expect this setup to handle all files ending in ".py" through > > the publisher handler. > > > > I have the script "hello.py" from the mod_python manual in the root of the > > web-server. Trying to get "http://127.1/hello.py/say" mod_python > > throws an exception (traceback atached). > > > > The exception is: "ImportError: No module named py" > > But http://127.1/hello/say (without .py) should work. > > (I still agree that this is a problem, just wanted to point out that there > is one way to make it work) > > Grisha > > >
|