Re: Passing a parameter

From: Steve Easton (admin_at_95isalive.com)
Date: 09/30/04


Date: Thu, 30 Sep 2004 14:35:32 -0400

Also, if your exe is a windows executable, it won't run on an Apache if the Apache is running UNIX.

-- 
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
"Steve Easton" <admin@95isalive.com> wrote in message news:u5P4uKxpEHA.596@TK2MSFTNGP11.phx.gbl...
> On an apache server the executable needs to be in the cgi-sys folder,
>
> <form action="/cgi-sys/MyEXE.exe?Begin">
>
> or cgi-bin
>
> <form action="/cgi-bin/MyEXE.exe?Begin">
>
> http:// is *not* used to call the file
>
>
> -- 
> Steve Easton
> Microsoft MVP FrontPage
> 95isalive
> This site is best viewed............
> .......................with a computer
>
> "Dale F." <DaleF@discussions.microsoft.com> wrote in message
> news:3DF02FFE-CEE6-4FFC-A4D2-E6491B8A8E28@microsoft.com...
> > The server is an Apache server.  Any idea how to configure this folder or
> > server to recognize an HTML call to an executable?  Or, do you know of a good
> > web reference to explore this issue?
> >
> > Thanks,
> >
> > Dale F.
> >
> > "Ronx" wrote:
> >
> > > The server must be set up to run executable files from the folder.  Most are
> > > set not to.
> > > For a website hosted on IIS the folder must be marked as executable.
> > > -- 
> > > Ron
> > >
> > > Reply only to group - emails will be deleted unread.
> > >
> > >
> > > "Dale F." <DaleF@discussions.microsoft.com> wrote in message
> > > news:89D3C0F9-7E57-404C-A2DA-4727244D06E4@microsoft.com...
> > > > Thanks,
> > > >
> > > > My EXE is not the issue.  It's my browser (IE 6) that doesn't understand.
> > > > It brings up a security dialog asking if I want to save MyEXE.  It should
> > > > *OPEN* or *RUN* the execuatable, rather than prompt to save it.  Any ideas
> > > > why this is happening and how I can fix it?
> > > >
> > > > "Ronx" wrote:
> > > >
> > > >> The standard in HTML is to pass parameters in a querystring, as in:
> > > >>
> > > >> <form method="POST"
> > > >> action="http://11.22.33.444/MyFolder/MyEXE.exe?Begin">
> > > >>
> > > >> Your .exe would have to understand it.
> > > >>
> > > >> -- 
> > > >> Ron
> > > >>
> > > >> Reply only to group - emails will be deleted unread.
> > > >>
> > > >>
> > > >> "Dale F." <DaleF@discussions.microsoft.com> wrote in message
> > > >> news:0A72005B-FE5C-4916-8216-4317F6EB18D3@microsoft.com...
> > > >> > Here's a bit of HTML that attempts to call an executable and pass a
> > > >> > parameter:
> > > >> >
> > > >> > <form method="POST"
> > > >> > action="http://11.22.33.444/MyFolder/MyEXE.exe/Begin">
> > > >> >
> > > >> > The executable is MyEXE.exe and the parameter is "Begin".
> > > >> > Unfortunately
> > > >> > my
> > > >> > browser (IE 6) doesn't recognize this statement.  It will find the EXE
> > > >> > if
> > > >> > the
> > > >> > parameter is left off... but then the EXE doesn't work properly.
> > > >> >
> > > >> > Is there a better way to pass this parameter to the executable?  (I
> > > >> > don't
> > > >> > think I can call a server-side script to call the EXE because the EXE
> > > >> > returns
> > > >> > an HTML response to whatever calls it.)
> > > >> >
> > > >> > Thanks,
> > > >> >
> > > >> > -- 
> > > >> > Dale F.
> > > >>
> > > >>
> > > >>
> > >
> > >
> > >
>
>


Relevant Pages

  • Re: Folder Structure missing when Hyperlinking
    ... >Microsoft MVP FrontPage ... >> when FrontPage allows you to locate a file or folder in ... >> website on the SAME server or another server works fine ...
    (microsoft.public.frontpage.client)
  • Re: Auto updating list of hyperlinks
    ... What's the difference between an html page on a server with links to files, ... Microsoft MVP FrontPage ... Directory browsing falls into the realm of conluding that "because something ... The suggestion to link to the folder would require using IIS to ...
    (microsoft.public.frontpage.programming)
  • Re: Apache vs IIS
    ... *) Does the user have the right to read the image file and the folder where it is stored if it's stored in a subfolder. ... I haven't got ASP.NET to work on Apache niether on my Windows Server not on my Linux Server so there for I would chose IIS. ...
    (alt.php)
  • Re: Link to files on Desktop
    ... The files for the web are in my folder which the Apache ... server is pointing to. ... >Microsoft MVP FrontPage ...
    (microsoft.public.frontpage.client)
  • Re: Passing a parameter
    ... On the Apache website after a 1 minute search through the links on the home ... > executables are recognized in HTML calls? ... >>> The server is an Apache server. ... Any idea how to configure this folder ...
    (microsoft.public.frontpage.programming)