[ Wow... Nasty email program you've got. HTML only and quite mangled. Please send in plain text.] On 5/18/05, shenty@xxxxxxxxxxxx <shenty@xxxxxxxxxxxx> wrote: > > Hi all, > > Question from a newbie. I have Apache 2.0.52 for Win32 installed locally on > Windows XP, SP2. I'm trying to run a set of CGI .EXEs (that's Windows > executables, not Perl scripts or similar) from NIST. The instructions from > the NIST install read as follows about setting up a ScriptAlias in Apache: > However, any reference to one of the .EXEs in the ".../cgi-bin/" > directory results in the browser trying to download the EXE rather than > Apache running it as a CGI program. > > This occurs in both Mozilla and IE, and both browsers report the .EXE as a > MIM type "application/octet" -- so it appears Apache isn't getting the > message that it should *run* the EXEs in that directory, rather than > download them. I'm accessing the Apache server locally with a > http://localhost... URL. Two issues you need to look at: 1. If you download the file and look inside, is it really the binary, or is it the output of the binary (sent with the wrong mime-type)? 2. You appear to have an Alias directive that overlaps with the directory specfied by your ScriptAlias. So your ScriptAlias is likely being ignored. The more specific Alias needs to be listed first. (But given the specific AddHandler and Options directives, this shouldn't be the cause of your problem.) 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx