You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dwayne Miller <dm...@espgroup.net> on 2002/04/09 20:54:23 UTC

Apache2.0 and CGI

Okay... up and running with Apache2.0, SSL, Win2k... everything seems to 
be going well with my testing.  However, I cannot figure out how to 
configure my CGI bin directory.  All of the files in the directory come 
back as text/plain.  Both plain HTML and Perl .cgi scripts.  I've 
changed nothing in the directory, and it was working with Apache 1.3.22.

I have the following directive in the VHOST block...

    <directory "d:/cgi-bin">
       options ExecCGI
    </directory>

Did something change in Apache 2 configuration file to get CGI scripts 
to work?

Thanks,
Dwayne


Re: Apache2.0 and CGI

Posted by "Philip M. Gollucci" <go...@wam.umd.edu>.
Normally you seen that down with a ScriptAlias.

*****************************************************************************
Philip M. Gollucci (p6m7g8)
Web-site    : http://www.p6m7g8.com
E-mail      : gollucci@wam.umd.edu 
	      Philip@p6m7g8.com 
Phone       : 301.249.6261 (Home)
	      301.314.3118 (College)
Major       : Computer Science 
Minor	    : Classical & Jazz Performance
Current Job : Science, Discovery, & the Universe Webmaster
	      URL: http://www.sdu.umd.edu 
Resume	    : http://www.wam.umd.edu/~gollucci/resume.html
*****************************************************************************


On Tue, 9 Apr 2002, Dwayne Miller wrote:

> Okay... up and running with Apache2.0, SSL, Win2k... everything seems to 
> be going well with my testing.  However, I cannot figure out how to 
> configure my CGI bin directory.  All of the files in the directory come 
> back as text/plain.  Both plain HTML and Perl .cgi scripts.  I've 
> changed nothing in the directory, and it was working with Apache 1.3.22.
> 
> I have the following directive in the VHOST block...
> 
>     <directory "d:/cgi-bin">
>        options ExecCGI
>     </directory>
> 
> Did something change in Apache 2 configuration file to get CGI scripts 
> to work?
> 
> Thanks,
> Dwayne
> 
> 


Re: Apache2.0 and CGI

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Did you forget SetHandler cgi-script .pl (???)

At 01:54 PM 4/9/2002, Dwayne Miller wrote:
>Okay... up and running with Apache2.0, SSL, Win2k... everything seems to 
>be going well with my testing.  However, I cannot figure out how to 
>configure my CGI bin directory.  All of the files in the directory come 
>back as text/plain.  Both plain HTML and Perl .cgi scripts.  I've changed 
>nothing in the directory, and it was working with Apache 1.3.22.
>
>I have the following directive in the VHOST block...
>
>    <directory "d:/cgi-bin">
>       options ExecCGI
>    </directory>
>
>Did something change in Apache 2 configuration file to get CGI scripts to 
>work?
>
>Thanks,
>Dwayne