# i don't think mod_cgi is meant for handling php, i fucking really dunno after shitload of time, # but this was done for fun, fuck you # # maybe this only works for shebanged scripts e.g. pl py? # when below was on, http response header was "Content-Type: application/x-httpd-php" and prompted firefox to download the file # AddType application/x-httpd-php .php AddHandler cgi-script .php DirectoryIndex index.php index.html SetHandler cgi-script