Arcady Genkin
agenkin-lst-mod_python at thpoon.com
Sun Nov 10 16:36:38 EST 2002
"Gregory (Grisha) Trubetskoy" <grisha at modpython.org> writes: > in MP 3.0 it defaults "index" Great! However, this does not seem to work with "DirectoryIndex index.py". I get the following when accessing the url http://myhost/ : ,---- | Mod_python error: "PythonHandler mod_python.publisher" | | Traceback (most recent call last): | | File "/usr/local/lib/python2.2/site-packages/mod_python/apache.py", | line 335, in HandlerDispatch | result = object(req) | | File "/usr/local/lib/python2.2/site-packages/mod_python/publisher.py", | line 86, in handler | func_path = req.path_info[1:] # skip first / | | TypeError: unsubscriptable object `---- Accessing http://myhost/index.py works fine. -- Arcady Genkin : CDF Systems Administrator http://www.cdf.toronto.edu/~agenkin/contact.html guilt is the cause of more disauders than history's most obscene marorders (E.E. Cummings)
|