of course

Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator,
 [EMAIL PROTECTED] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.
More information about this error may be available
in the server error log.and the error log is:
[Sat Jul 26 23:28:38 2008] [error] [client 127.0.0.1] (8)Exec format error: 
exec of '/var/www/cgi-bin/dbmailadministrator/DBMA_help.htm' failed

It's trying to execute an html file.


Apache/2.2.3 (Ubuntu) PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 
Perl/v5.8.8 Server at localhost Port 80

> Date: Sun, 27 Jul 2008 08:26:34 +0300
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: AW: [Dbmail] need a link
> 
> 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

_________________________________________________________________
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to