Web Programming thru python
timr at probo.com
Wed Sep 19 08:27:48 CEST 2007
python_lover <govisathish at gmail.com> wrote:
>Please help how to execute a py file with xitami.
>I installed xitami , downloaded lrwp file.
>accessing the first web application program
>through browser like "http://localhost/first.py
>it is dispaying the source code of the first.py.
>Please help me how to execute the file.
If you want this called as a CGI script, then you probably want this in the
cgi-bin directory. You can use [Cgi-Alias] to make other directories into
CGI directories as well.
If you want ALL .py files to be executed, you should be able to create a
filter using Xitami's configuration stuff at http://localhost/admin.
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list