I may be completely missing your issue here. Apache allows you to designate a directory to execute cgi scripts, /var/www/localhost/cgi-bin is the default in gentoo, it may be different in other distributions. In any case, you have the ability to designate any directory you want to run cgi scripts by using the ExecCGI directive in the httpd.conf or other vhost files.
One you have cgi enabled, apache will determine how to deliver the requested pages based on its extension. There has to be a directive in apache telling it that .pl should go to perl and .py goes to python. .html or .htm should not be called by any interpreter and should therefore be delivered as is. You may have a directive stating that everything in the directory should be run through a specific interpreter (say perl) and then you will need to remove that directive. Have you tried putting an html file into the cgi-bin and calling it directly from the browser (i.e. http://localhost/cgi-bin/testfile.html) to see what error message it gives you? David B. wrote: > READ the message, I know how to set up CGI, that isn't the point. > It's how to feed html in CGI that's the point. > > From everything I've read you can't feed html files out of a > cgi-bin directory. cgi-bin wants to execute every file through > perl, or whatever. dbmailadministrator expects to see > the html files in the cgi-bin directory and they won't feed. _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
