Michael C. Neel
neel at mediapulse.com
Fri Jun 13 14:54:25 EST 2003
If you are using Apache 2.0; then you can chain together content handlers to do this (or so I've been told but I've yet to try it). If you are using Apache 1.3 then you'll have to handle it yourself, or not handle .shtml files (which may or may not be an option depending on what you are doing). HTH, Mike > -----Original Message----- > From: Stefan C. Kremer [mailto:skremer at q.cis.uoguelph.ca] > Sent: Friday, June 13, 2003 2:37 PM > To: mod_python at modpython.org > Subject: [mod_python] Server side includes. > > > > Is there any easy way to perform server side include > type processing with > my mod_python handler? > > I have written a handler which delivers *.html files > *.shtml files, etc. > and also runs *.py scripts and also handles *.cgi, but I > would like to > post process each of these using the standard > server-side include type > processing. > > I realize that I could write the code to do it manually > in my handler, but > am wondering if there is a better way. > > Thanks, > > -SK > > -- > -- > Dr. Stefan C. Kremer, Associate Prof. > Reynolds Building, 106 > Dept. of Computing and Information Science > University of Guelph, Guelph, Ontario N1G 2W1 > > WWW: http://q.cis.uoguelph.ca/~skremer > Tel: (519)824-4120 Ext.58913 Fax: (519)837-0323 > E-mail: skremer at uoguelph.ca > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|