Alaska Software Inc. - Running waa1gate.exe with ".isa" extension under Apache 2.0
Username: Password:
AuthorTopic: Running waa1gate.exe with ".isa" extension under Apache 2.0
Thomas Braun Running waa1gate.exe with ".isa" extension under Apache 2.0
on Thu, 16 Feb 2006 11:54:50 +0100
Hi,

I'm using Apache 2.0 for local testing but IIS on my production server.

It is quite a PITA to always having to change URLs from "waa1gate.exe" to
"waa1gate.isa" when uploading new html pages with static waa links.

So I thought it might be possible to run the .exe file with a .isa
extension... but unfortunately I can't get this to work with Apache 2.0, I
keep getting 404 not found errors for the isa file. 

I even tried to use mod_isapi, but had no luck as well... must be something
obvious, but I just don't see how to proceed...

Maybe someone can point me into the right direction? 
That would be great 

....ahhm -  just one more thing, a looong time ago I managed to convert my
IIS-based SSL-certificate into a Apache compatible one... unfortunately I
lost the how-to document that described the neccesary steps 

regards
Thomas
Frans VermeulenRe: Running waa1gate.exe with ".isa" extension under Apache 2.0
on Thu, 16 Feb 2006 13:08:07 +0100
Thomas,

> I'm using Apache 2.0 for local testing but IIS on my production server.

1) Better do that the other way around :-
2) I'm not too familiar wit apache 2.0

> It is quite a PITA to always having to change URLs from "waa1gate.exe" to
> "waa1gate.isa" when uploading new html pages with static waa links.

Why not run the exe on the IIS, for shure that works, and the time
lost due to the lesser performance, you will gain by not having to change
the extension. IOW, AFAIK the performance gain is negligable.

> So I thought it might be possible to run the .exe file with a .isa
> extension... but unfortunately I can't get this to work with Apache 2.0, I
> keep getting 404 not found errors for the isa file.

You mean, you get 404 errors, because no page is being returned to
the client, probably due to the fact the isa does not "start"

> I even tried to use mod_isapi, but had no luck as well... must be
something
> obvious, but I just don't see how to proceed...

An isa is a dll, with a different extension, and cannot run by itself. An
exe can.
I'm confused by the term "even", you need something that runs the isa.

> Maybe someone can point me into the right direction?
> That would be great 

Unfortunately no, you probably knew already what's in my comments.

Regards,
Frans Vermeulen
Thomas Braun Re: Running waa1gate.exe with ".isa" extension under Apache 2.0
on Thu, 16 Feb 2006 17:13:02 +0100
Frans Vermeulen wrote:

> Thomas,
> 
>> I'm using Apache 2.0 for local testing but IIS on my production server.
> 
> 1) Better do that the other way around :-Þ
> 2) I'm not too familiar wit apache 2.0

Naahhh - I don't know Apache too well myself and don't have much time to
deal with all the security related things...

> Why not run the exe on the IIS, for shure that works, and the time
> lost due to the lesser performance, you will gain by not having to change
> the extension. IOW, AFAIK the performance gain is negligable.

Most likely yes - I will try that as well - thank you for this idea.

> You mean, you get 404 errors, because no page is being returned to
> the client, probably due to the fact the isa does not "start"

Yes - this may be the case.

> 
>> I even tried to use mod_isapi, but had no luck as well... must be
> something
>> obvious, but I just don't see how to proceed...
> 
> An isa is a dll, with a different extension, and cannot run by itself.

I know, this is why mod_isapi is needed.

regards
Thomas
Phil Ide
Re: Running waa1gate.exe with ".isa" extension under Apache 2.0
on Thu, 16 Feb 2006 15:18:34 +0000
Thomas,

> So I thought it might be possible to run the .exe file with a .isa
> extension... but unfortunately I can't get this to work with Apache 2.0, I
> keep getting 404 not found errors for the isa file. 

Did you add a handler for .isa?  I don't think just adding LoadModule for
isa will work.

Regards,

Phil Ide

***************************************
* Xbase++ FAQ, Libraries and Sources: *
* goto: http://www.idep.org.uk/xbase  *
***************************************

I will be neither chivalrous nor sporting. If I have an unstoppable
superweapon, I will use it as early and as often as possible instead of
keeping it in reserve.
          [Things I'd do as an Evil Overlord]
Thomas Braun Re: Running waa1gate.exe with ".isa" extension under Apache 2.0
on Thu, 16 Feb 2006 17:07:44 +0100
Phil Ide wrote:

> Thomas,
> 
>> So I thought it might be possible to run the .exe file with a .isa
>> extension... but unfortunately I can't get this to work with Apache 2.0, I
>> keep getting 404 not found errors for the isa file. 
> 
> Did you add a handler for .isa?  I don't think just adding LoadModule for
> isa will work.

Yes, I thought

   AddHandler isapi-isa .isa

would do the job (in conjunction with loading the module of course)

Then I copied the real isapi gateway file to the directory where the 
waa1gate.exe already resides and changed the url from .exe to .isa.

Any idea?
Thomas
Phil Ide
Re: Running waa1gate.exe with ".isa" extension under Apache 2.0
on Thu, 16 Feb 2006 16:56:21 +0000
Thomas,

>> Did you add a handler for .isa?  I don't think just adding LoadModule for
>> isa will work.
> 
> Yes, I thought
> 
>    AddHandler isapi-isa .isa
> 
> would do the job (in conjunction with loading the module of course)
> 
> Then I copied the real isapi gateway file to the directory where the 
> waa1gate.exe already resides and changed the url from .exe to .isa.
> 
> Any idea?

None - I've never tried using isa with Apache.

Of course, for your generated pages you can easily StrTran() the document
before you send it.  When copyng static pages between the servers, you could
simply do a grep (you do have a grep util don't you? (being a Linux man
and all )).

Regards,

Phil Ide

***************************************
* Xbase++ FAQ, Libraries and Sources: *
* goto: http://www.idep.org.uk/xbase  *
***************************************

My five-year-old child advisor will also be asked to decipher any code I am
thinking of using. If he breaks the code in under 30 seconds, it will not be
used. Note: this also applies to passwords.
          [Things I'd do as an Evil Overlord]