[mod_python] index.py as index

Karol Bryd kbryd at python.org.pl
Wed Jun 13 09:47:41 EST 2001

On Tue, Jun 12, 2001 at 01:31:56PM -0400, Rich Salz wrote:
> > What I want is to have a page that will
> > be displayed after typing http://lh/page/ (for example this will call
> > function index in index.py). How to do it?
> Edit your Apache config file
> 	DirectoryIndex index.py index.html
>                         ^^^^^^^ add this

This is quite obvious but it won't solve my problem with path info, I
will still have to write url like this http://lh/page/?index to call
function named index from index.py. Am I right?

       ------------------- Karol Bryd ------------------
   ---------------- http://int.gnu.org.pl ------------------
----------Anything free is worth what you pay for it.----------

More information about the Mod_python mailing list