shtml in python

Andreas Jung andreas at andreas-jung.com
Sun Jan 7 16:34:20 EST 2001


On Sun, Jan 07, 2001 at 10:05:08PM +0100, Vesemir wrote:
> Hello!
> U¿ytkownik "Michael P. Soulier" <msoulier at storm.ca> napisa³ w wiadomo¶ci
> news:9z366.240411$_5.53698286 at news4.rdc1.on.home.com...
> > In article <93adro$k9n$1 at sunsite.icm.edu.pl>, Vesemir wrote:
> > >
> > >How to write shtml scripts in python?
> > >what's needed to configure apache server?
> >
> >     I think you're confusing two concepts here. shtml is a standard file
> > extension for Server Side Includes. This has nothing to do with Python. If
> you
> > are instead hoping to use Python to write CGI scripts, then read up on
> your
> > web server's documentation on how to enable CGI scripts. If it's apache,
> check
> > the apache web site. They have excellent documention.
> 
> No! I want to configure apache server to embed python scripts into html
> code.

Configure your web server to allow the execution of CGI scripts.
And then include the corresponding URL of the CGI scripts
inside the SSI statement.

Andreas




More information about the Python-list mailing list