Home > Archive > dBASE Web Applications > April 2005 > Re: run not download .exe files in windows 2000 server edition









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: run not download .exe files in windows 2000 server edition
David Ball

2005-04-04, 8:03 pm

Hello John Jay

> I use the apache web server from the dBASE cd to test my web app. I had to

add .exe to the line that starts AddHandler cgi-script. This runs .exe files
rather than prompting for downloading them.
> My dsl machine has windows 2000 server edition setup as my web host. I

have the download dialog pop up when a user clicks a .exe link. I downloaded
everything I could find at Microsoft, but did not get anywhere. Does anyone
have windows server 2000 server edition, or something similar, eperience to
answer my 2 questions . 1. how do I locate the config file for windows 2000
server eddition? 2 What do I change in the file to make Dbase exe files
excute rather than download?

Some questions:
Do you have 2 machines? A testing machine with apache and a dsl machine with
something else?
"Windows 2000 server edition" is an Operating System, not web server
software. Do you mean IIS? It is Microsoft's web server, something similar
to Apache.
If you are using IIS, the configuration settings are somewhere on the
control panel, I think. Sorry I can't recall specifically. Try the Windows
Help; use search terms like "IIS configuration" or something, it should give
some clues as to where to look. If I recall correctly, there is no config
file, it is done through a GUI.
Similar to Apache, you have to tell IIS that certain files are to be
executed. apache does this by file extension, as you have discovered - all
exe files are handled as cgi scripts. IIS uses directory permissions, where
you set the folder as executable.
Sorry, I don't recall all the details but this may give you a starting
point.

Thank you
David Ball
www.ChelseaData.ca



John Jay

2005-04-04, 8:03 pm

David

> Do you have 2 machines? A testing machine with apache and a dsl machine with
> something else?

Yes
> "Windows 2000 server edition" is an Operating System, not web server
> software. Do you mean IIS?

I was Given the machine and the owner set it up for me The termonology I got from him.
> If you are using IIS, the configuration settings are somewhere on the
> control panel, I think.

I looked ,will look again
.. Try the Windows
> Help; use search terms like "IIS configuration" or something, it should give
> some clues as to where to look. If I recall correctly, there is no config
> file, it is done through a GUI.


> Sorry, I don't recall all the details but this may give you a starting
> point.

Thanks! Will try all this and report back
John #1000502
David Ball

2005-04-04, 8:03 pm

Hi John

> I was Given the machine and the owner set it up for me The termonology I

got from him.

You should go back to them and ask if they set up a web server on the
machine. Is it IIS? Apache? Alternately, open a browser on the machine and
type 127.0.0.1. Both apache and IIS will give you a default installation
page so you'll know what has been installed. Or check the 'Services' app in
control panel. Maybe there is no web server installed and then you can
install apache just like on your test machine.

> I looked ,will look again


I don't have server edition and I don't have IIS installed on any of my Pro
machines, so I can't help you with that. I will check at work tomorrow.

> . Try the Windows
give[color=darkred]
config[color=darkred
]
>
> Thanks! Will try all this and report back


Good luck
David Ball
www.ChelseaData.ca


Charlie Lutz

2005-04-04, 8:03 pm

In article <gGgXQ4U3EHA.736@news-server>, Bestmarinemil@yahoo.com
says...[color=darkred]
> David
> Yes
John,
You need to find the "Manage your server" link. Look in the start
button menu, or control panel. Once that is open, you can click the
application server link. I think that is what you are looking for.

Charlie
--


____________________
________
Charlie Lutz
#1000441
John Jay

2005-04-04, 8:03 pm

David

> You should go back to them and ask if they set up a web server on the
> machine. Is it IIS?

Yes IIS
here is what I found in OLH
'>Click Start, point to Programs, point to Administrative Tools, and click Computer Management.
Under the Server Applications and Services node, expand Internet Information Services , edit properties

Did this ,up came default webb site properties. Under the Home directory tab I changed excute permissions from scripts only to scripts and executables.
The default home directory is correct, as a test I put a HTML choice on my home page, it will run that. With this change my exe does not try to download, it just times out. I used a try Catch like Ken M. suggested in his webb.how but I do not get a sorry
page, but I did when I tested, fixed errors then transferred to IIS machine, so I still think it is a IIS config setup issue. Will keep trying.

> you can install apache just like on your test machine.

I thought of that, but what if someone wants my code on their IIS machine, I would rather get mad at myself than have a user mad at me.
John # 1000502

..

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com