You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Ali, Saqib" <do...@gmail.com> on 2007/08/23 20:35:30 UTC

[users@httpd] Forbidden error on .exe files in apache on RH 4.0

Hello All,

I just installed a RH 4.0 box with apache, and I am getting a
"Forbidden" error when trying to d/l .EXE files.

The log says:
Options ExecCGI is off in this directory: /path/path/file.exe

Any thoughts?
Saqib

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Forbidden error on .exe files in apache on RH 4.0

Posted by Jeff Peng <je...@gmx.net>.
-------- Original-Nachricht --------
> Datum: Thu, 23 Aug 2007 11:35:30 -0700
> Von: "Ali, Saqib" <do...@gmail.com>
> An: users@httpd.apache.org
> Betreff: [users@httpd] Forbidden error on .exe files in apache on RH 4.0

> Hello All,
> 
> I just installed a RH 4.0 box with apache, and I am getting a
> "Forbidden" error when trying to d/l .EXE files.
> 
> The log says:
> Options ExecCGI is off in this directory: /path/path/file.exe
> 

because this directory doesn't have ExecCGI options,you can add it if needed.like,

    <Directory "/the/path">
        AllowOverride None
        Options ExecCGI
    </Directory>

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Forbidden error on .exe files in apache on RH 4.0

Posted by "Ali, Saqib" <do...@gmail.com>.
Hi Joshua,

Thank you very much!!!! :) That resolved the issue. Your posting are
indeed very helpful.

Saqib Ali


On 8/23/07, Joshua Slive <jo...@slive.ca> wrote:
> On 8/23/07, Ali, Saqib <do...@gmail.com> wrote:
> > but this is not a CGI file.....
>
> Well, they are marked as such in your config file. You likely have an
> AddHandler or AddType directive designating .exe files as cgi scripts.
> You'll need to get rid of that if you want them downloaded without
> processing.
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Saqib Ali, CISSP, ISSAP
http://www.full-disk-encryption.net

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Forbidden error on .exe files in apache on RH 4.0

Posted by Joshua Slive <jo...@slive.ca>.
On 8/23/07, Ali, Saqib <do...@gmail.com> wrote:
> but this is not a CGI file.....

Well, they are marked as such in your config file. You likely have an
AddHandler or AddType directive designating .exe files as cgi scripts.
You'll need to get rid of that if you want them downloaded without
processing.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Forbidden error on .exe files in apache on RH 4.0

Posted by "Ali, Saqib" <do...@gmail.com>.
but this is not a CGI file.....

On 8/23/07, Joshua Slive <jo...@slive.ca> wrote:
> On 8/23/07, Ali, Saqib <do...@gmail.com> wrote:
> > Hello All,
> >
> > I just installed a RH 4.0 box with apache, and I am getting a
> > "Forbidden" error when trying to d/l .EXE files.
> >
> > The log says:
> > Options ExecCGI is off in this directory: /path/path/file.exe
>
> In httpd.conf, you have an Options directive applying to that path (or
> a parent directory) that does not include the ExecCGI option.
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Saqib Ali, CISSP, ISSAP
http://www.full-disk-encryption.net

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Apache 2 on Windows

Posted by Steffen <in...@apachelounge.com>.
Just to let you know.

The Apache Lounge is pulled down, because we have some (legal) issues.

See http://www.apachelounge.com/

Sorry that we have to leave a lot of Windows users  in the dark.

Hopefully we can come back. I keep you informed.


Steffen








---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Forbidden error on .exe files in apache on RH 4.0

Posted by Joshua Slive <jo...@slive.ca>.
On 8/23/07, Ali, Saqib <do...@gmail.com> wrote:
> Hello All,
>
> I just installed a RH 4.0 box with apache, and I am getting a
> "Forbidden" error when trying to d/l .EXE files.
>
> The log says:
> Options ExecCGI is off in this directory: /path/path/file.exe

In httpd.conf, you have an Options directive applying to that path (or
a parent directory) that does not include the ExecCGI option.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org