You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nathan Metcalf <na...@weatherbeeta.com.au> on 2007/06/27 06:52:16 UTC

[users@httpd] Apache CGI-Bin issues with .exe files

Hello everyone,

I am having some issues getting an .exe file to execute and not be prompted
to download.

I have put it in my cgi-bin directory. Here is the relevant parts of my
config file:

 

 

ScriptAlias /cgi-bin/ "C:/www_data/cgi-bin/"

 

</IfModule>

 

#

# "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be
changed to whatever your ScriptAliased

# CGI directory exists, if you have that configured.

#

<Directory "C:/www_data/cgi-bin">

    AllowOverride None

    Options None

    Order allow,deny

    Allow from all

</Directory>

 

Can someone please give me some help?

Thanks,

Nathan Metcalf
Australasian IT Support
Weatherbeeta P/L
8 Moncrief Rd
Nunawading, VIC, 3131
Australia

P.  +61 3 9845 0695
F.  +61 3 9845 0655
E.  nathan.metcalf@weatherbeeta.com.au
<ma...@weatherbeeta.com.auW> 
W. http://www.weatherbeeta.com <http://www.weatherbeeta.com/> 

 



*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to
the addressee.  If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.

Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments

Re: [users@httpd] Apache CGI-Bin issues with .exe files

Posted by Mark Watts <m....@eris.qinetiq.com>.
> Hello everyone,
>
> I am having some issues getting an .exe file to execute and not be prompted
> to download.
>
> I have put it in my cgi-bin directory. Here is the relevant parts of my
> config file:
>
>
>
>
>
> ScriptAlias /cgi-bin/ "C:/www_data/cgi-bin/"
>
>
>
> </IfModule>
>
>
>
> #
>
> # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be
> changed to whatever your ScriptAliased
>
> # CGI directory exists, if you have that configured.
>
> #
>
> <Directory "C:/www_data/cgi-bin">
>
>     AllowOverride None
>
>     Options None

This may be overriding the ScriptAlias stuff. Try changing it to  "+ExecCGI" 
instead of "None"

Mark.

-- 
Mark Watts BSc RHCE MBCS
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services Group
GPG Key: http://keyserver.veridis.com:11371/search?q=0x455420ED