Jim Gallacher
jpg at jgassociates.ca
Tue Jun 6 17:52:53 EDT 2006
Set the content type in your handler. def handler(req): req.content_type = 'text/html' req.write('All good') return apache.OK Jim elekis wrote: > hi, I ve just tried to installed mod_python,with apache2 I did all > what they said but I don't know why when I click on > localhost/public_html/file.py > > if they are some errors in file.py he print the errors they want but > if the script is correct mozilla propose to me to download the script. > > after litlle research it seems that is a prob with my mime in > /etc/apache2/mime.type > > but I don't have that file and I didn't found what put in. > > > any help. > > thanks > > > a+++ > > PS : it's maybe the second time this mail is in the listmail cause I > recieve a who password a unprocessed etc...etc... > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|