Alaska Software Inc. - try to set up waa server
Username: Password:
AuthorTopic: try to set up waa server
CSBtry to set up waa server
on Wed, 26 Oct 2005 18:07:54 +0200
i tried to set up the waa on an Windows 2003 Server IIS as follows:

waa1gate.cfg in dir   C:\WINDOWS\system32\inetsrv
contents of waa1gate.cfg:
   hostname = localhost
   port     = 1024
   docroot  = \Inetpub\wwwroot

waa1gate.isa in c:\inetpub\wwwroot\cgi-bin
in the dir \Inetpub\wwwroot, i copied the WAA sample files (changed 
waa1gate.exe into waa1gate.isa in the htm-files).
When i open  index.htm and click on "My First HTML Page ", the page opens.
When I enter a name and click on "Send it" the message below appears.

Content-type:tex/html
Server Error
Cannot open file \Inetpub\wwwroot\waapwr.gif0) No error

I couldn't find a waapwr.gif in the waa samples, so i tried to put such a 
file in the wwwroot-dir. Nothing changed.
I haven't found until now, where the call of this this file is placed.
What can be wrong ?
any ideas ?

dirk
Phil Ide
Re: try to set up waa server
on Thu, 27 Oct 2005 14:39:41 +0100
Dirk,

> Cannot open file \Inetpub\wwwroot\waapwr.gif0) No error
> 
> I couldn't find a waapwr.gif in the waa samples, so i tried to put such a 
> file in the wwwroot-dir. Nothing changed.
> I haven't found until now, where the call of this this file is placed.
> What can be wrong ?
> any ideas ?

This is a resource in one of the WAA dll's.  You can avoid the issue
entirely by:

  a) waa1gate.cfg set the document root by using an absolute path from the
root of the drive.

  b) Instead of using oHtml:footer(), use oHtml:put('</body></html>')

Regards,

Phil Ide

*******************************************
*   Xbase++ FAQ, Libraries and Sources:   *
*   goto: http://www.idep.org.uk/xbase    *
* --------------------------------------- *
* www.xodc.org.uk - openSource Dev-Center *
*******************************************

Of all the things I lost, I miss my mind the most.
CSBRe: try to set up waa server
on Fri, 28 Oct 2005 10:18:33 +0200
Thank you Phil,
the complete path in the waa1gate.cfg didn't help but the change from 
oHtml:footer() into oHtml:put('</body></html>').
Seems like the waa1srv.exe tries to put this file in the docroot. Perhaps in 
my IIS configuration i have to set the correct right.
Until now I have no idea which rights are necessary to use the original 
sample dlls.
But now i have a workaround to do some experimental work on it.

thanks a lot

dirk


"Phil Ide" <phil@xodc.org.uk> schrieb im Newsbeitrag 
news:1sm5223gon89y$.dlg@xodc.org.uk...
> Dirk,
>
>> Cannot open file \Inetpub\wwwroot\waapwr.gif0) No error
>>
>> I couldn't find a waapwr.gif in the waa samples, so i tried to put such a
>> file in the wwwroot-dir. Nothing changed.
>> I haven't found until now, where the call of this this file is placed.
>> What can be wrong ?
>> any ideas ?
>
> This is a resource in one of the WAA dll's.  You can avoid the issue
> entirely by:
>
>  a) waa1gate.cfg set the document root by using an absolute path from the
> root of the drive.
>
>  b) Instead of using oHtml:footer(), use oHtml:put('</body></html>')
>
> Regards,
> -- 
> Phil Ide
>
> *******************************************
> *   Xbase++ FAQ, Libraries and Sources:   *
> *   goto: http://www.idep.org.uk/xbase    *
> * --------------------------------------- *
> * www.xodc.org.uk - openSource Dev-Center *
> *******************************************
>
> Of all the things I lost, I miss my mind the most.
Thomas Braun Re: try to set up waa server
on Fri, 28 Oct 2005 11:41:39 +0200
CSB wrote:

> Seems like the waa1srv.exe tries to put this file in the docroot. Perhaps in 
> my IIS configuration i have to set the correct right.
> Until now I have no idea which rights are necessary to use the original 
> sample dlls.

I'd simply use the workaround instead of accidentially creating security
problems on a web server  

As an additional "goodie", you get rid of the WAA-Sign at the end of each
page.

Thomas
Hannes Ziegler Re: try to set up waa server
on Fri, 28 Oct 2005 23:08:28 +0200
Thomas Braun wrote:
> 
> CSB wrote:
> 
> > Seems like the waa1srv.exe tries to put this file in the docroot. Perhaps in
> > my IIS configuration i have to set the correct right.
> > Until now I have no idea which rights are necessary to use the original
> > sample dlls.
> 
> I'd simply use the workaround instead of accidentially creating security
> problems on a web server 
> 
> As an additional "goodie", you get rid of the WAA-Sign at the end of each
> page.

AFAIK, the WAA logo is hard coded in WAA. It can be switched off using
SET environment variables. Include in your STARTWAA.BAT file

SET WAA_GIF_LOGO=OFF
SET MEA_CULPA=OFF

This will work until someone changes the logic for automatic logo
inclusion.

HTH,
--
Hannes

http://www.knowleXbase.com