[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Allowin a .exe file to run for a specified site?



hi ervin,

I'm trying to implement a 3rd party cgi application, and all the app files
are .exe's.  I need to allow this single site to run .exe's as the compiled
files post to .exe only and there's no way for me to change that. Ex:

Step1.exe -> step2.exe  -> step3.exe ....

If I point my browser to the .exe, it asks me to download the file.  I know
I could adjust the mime.types file to allow for .exe to run, but I don't
want to allow everyone on the entire server to run .exe except for this
particular site.

you know that you're on a linux platform that doesn't run exe binaries..? the only exception i know are the frontpage programs (fpsrvadm.exe, ...) that have an .exe suffix, but they are ordinary elf binaries.

setting a mime type wouldn't be the solution, i think. you need to set an "AddHandler cgi-wrapper .exe" directive within your httpd.conf.

jp.


_____________________________________________________________
Jonas Pasche, RHCE                            Rheinstr. 3
webagentur Domke GmbH                         64283 Darmstadt
Systemadministration / Systementwicklung      Germany

Hotline: 0700 46637243 (24 Pf./Min.)  mailto:jpasche@xxxxxxxx
Telefax: +49 (0)6151 293173               http://www.domke.de
_____________________________________________________________