Mike's Pub -> Discussion Corner -> Support Forum for aWebVisit

 CGI script AWV-Map [ Reply ] [ Back to Index ] Top Bottom

Author : Marc
Date: 2002/04/23 12:15

Hi Mike,

I'm having difficulties with the CGI-script AWV-Map. For some reason my webbrowser does
not recognize it a a CGI script, because I simply see the text-content of the file, and it
won't process it. I've tried everyting, even re-downloaded it. I'm working with IIS 5.0. 

I do see "Detailed web maps" instead of "Standard Web maps" in the menu tree. But when I
click it, it won't process.

Can you give me a hint?

Kind regards,
Marc

 Re: CGI script AWV-Map [ Reply ] [ Back to Index ] Top Bottom

Author : Mike
Date: 2002/04/23 18:12

It's not your webbrowser that is supposed to recognize it as anything, it's your IIS
webserver that should be executing it.

So first of all, are you sure you specified a full URL pointing to the CGI script on your
webserver, and not just some local file path ? And secondly, is your IIS server configured
correctly to handle CGI scripts at all ? If not, you may want to check the Microsoft
documentation on how to do that first...

Good luck,

Mike.

 Re: CGI script AWV-Map [ Reply ] [ Back to Index ] Top Bottom

Author : Marc Koetsier
Date: 2002/05/13 15:27

Mike,

I have to say that on the 26th of March I did have it running. But later it did not
anymore. 

After re-installing all of the software today (I made too much changes in the files) the
Awebvisit part works again, but aWebvisitMAP still does not. Now I receive the following
error: "CGI Timeout, The specified CGI application exceeded the allowed time for
processing. The server has deleted the process." 

I've tried finding a setting for a script-timeout in IIS, but all I could find was the ASP
value which is not the right one.

I don't know what to do anymore, and I cannot even begin telling all the things I've
tried....

Do you (after my wining) have any suggestions? Can I please send you my awv-map.cgi file
for example?

Kind regards, Marc

 Re: CGI script AWV-Map [ Reply ] [ Back to Index ] Top Bottom

Author : Marc Koetsier
Date: 2002/05/13 15:29

Mike,

I have to say that on the 26th of March I did have it running. But later it did not
anymore. 

After re-installing all of the software today (I made too much changes in the files) the
Awebvisit part works again, but aWebvisitMAP still does not. Now I receive the following
error: "CGI Timeout, The specified CGI application exceeded the allowed time for
processing. The server has deleted the process." 

I've tried finding a setting for a script-timeout in IIS, but all I could find was the ASP
value which is not the right one.

I don't know what to do anymore, and I cannot even begin telling all the things I've
tried....

Do you (after my wining) have any suggestions? Can I please send you my awv-map.cgi file
for example?

Kind regards, Marc

 Re: CGI script AWV-Map [ Reply ] [ Back to Index ] Top Bottom

Author : Mike
Date: 2002/05/13 23:23

Sounds to me like you're having some other configuration problems - perhaps the IIS
configuration was modified and CGI scripts don't run correctly anymore, or perhaps the
script can't execute the 'fly.exe' program or some such thing.

If you find no error messages in your IIS error logs (you might have to activate that
first in IIS, perhaps), and other CGI scripts *do* seem to work correctly, you might want
to add the following line right after the first #! line :
use CGI::Carp qw/fatalsToBrowser/;

This should redirect any further error messages to your browser (assuming CGI scripts *do*
work at all). If no CGI scripts work at all, better re-check that IIS config first :-)

Sorry, but I can't help you more until you've at least cleared the following hurdles :
1) some simple CGI script located in the same directory *does* work with your IIS config
2) you actually get some error message in your logfile and/or your browser when you try to
run awv-map.cgi

 Re: CGI script AWV-Map [ Reply ] [ Back to Index ] Top Bottom

Author : Marc Koetsier
Date: 2002/05/14 07:44

Hi Mike,

It works! Yesterday, very very late, I figured out in IIS that CGI scripts were handled by
<perl.exe> instead of <perl.exe "%s" %s>. Since it did work at first, I don't know where
it went wrong.

Thanks for all your good advice, help and quick responses!

Kind regards,
Marc




 Reply [ Back to Index ] Top Bottom
Name :
E-mail : (optional)
Subject :
Message :
MathGuard security question: 3 + 9 =
 

Mike's Pub -> Discussion Corner -> Support Forum for aWebVisit