apache, environment variablen

Andre Landwehr andre.landwehr at gmx.net
Sun Sep 5 12:19:46 CEST 1999


On Sun, Sep 05, 1999 at 11:16:08AM +0200, Ingo Luetkebohle wrote:
> Du gibst keine HTTP-Header aus, das ist auch bei SSI's nötig.
> 
> Ein
> 	print "Content-type: text/plain\r\n\r\n";
> sollte es tun
> 
Das Script steckt in einer .shtml Seite, die im Wesentlichen aus
"<html><body><!--exec cmd="script.pl"--></body></html>" besteht, und in der
httpd.conf steht für shtml ein passender ContentType drin. Selbst wenn dem
nicht so wäre, müßte er den Standardtyp nehmen, was text/plain ist.

Gruß
Andre




More information about the Linux mailing list