Web Programming thru python

Tim Roberts timr at probo.com
Wed Sep 19 02:27:48 EDT 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 mailing list