unexecutables!

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
harrisonad
Forum Contributor
Posts: 288
Joined: Fri Oct 15, 2004 4:58 am
Location: Philippines
Contact:

unexecutables!

Post by harrisonad »

How can I enable the execution of windows executables on IIs 6.0
I already added the '.exe' mime type. but it still doesn't execute.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

explain us what you are trying to do... with a call to exec (or friends) you can execute a program on the server...

praise yourself happy that it's impossible for a website to launch an executable on your pc...
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I've seen websites with url's like:

http://www.somesite.com/scripts/program ... 12&size=16

I assume you can use CGI somehow for that sort of thing?
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Well, it's only an URL...

For example: rename all .php files to .exe
Configure apache/php to parse .exe files (AddType application/x-httpd-php .exe)
User avatar
harrisonad
Forum Contributor
Posts: 288
Joined: Fri Oct 15, 2004 4:58 am
Location: Philippines
Contact:

Post by harrisonad »

What I mean is... I want to users to run installers, such as acrobat reader, from my site.
I have placed this installer inside this directory "installers/acrobat_inst.exe". And I placed a link that points to this file, but gives "the page cannot be found" error instead of downloading.
Any idea? Do I have to tweak some IIS security setting to do this?
Post Reply