On Thursday October 11, 2001 09:19 am, Love, Jay wrote:
> If IIS doesn't run the cgi in the cgi's directory, does anyone have any
> suggestions on how it might be able to find the config file?  I know the
> Windows way is to use the Registry, but that would not be a simple approach
> here.
>
> Jay
>

I already fixed it -- look in CVS.  The trick is that even though the cgi 
isn't running in the cgi's directory, argv[0] contains the full path to the 
executable.  So from that we can construct the full path to the config file.

This works with IIS 4.0 and Apache, so I think we're all set.


- Geoff

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to