Thread ExecCGI & Premature End of Script headers: das mir das mal passiert... sowas (19 answers)
Opened by pfuschi at 2005-01-20 15:34

GwenDragon
 2005-01-20 20:49
#4177 #4177
User since
2005-01-17
14848 Artikel
Admin1
[Homepage]
user image
AddHandler laut Apache Manual:
Quote
Description: Maps the filename extensions to the specified handler
Syntax: AddHandler handler-name extension [extension] ...
Context: server config, virtual host, directory, .htaccess
Override: FileInfo
Status: Base
Module: mod_mime

Files having the name extension will be served by the specified handler-name. This mapping is added to any already in force, overriding any mappings that already exist for the same extension. For example, to activate CGI scripts with the file extension .cgi, you might use:

AddHandler cgi-script .cgi

Once that has been put into your httpd.conf file, any file containing the .cgi extension will be treated as a CGI program.

The extension argument is case-insensitive, and can be specified with or without a leading dot.



Schon mal beim Skript daran gedacht?
$| = 1; # kein Buffering

View full thread ExecCGI & Premature End of Script headers: das mir das mal passiert... sowas