Hello all -
I am having a problem here, and I am completely stumped.
First: The env: Running Domino 5.0.8 on a Win2k (all updates installed) server.
I am trying to write a simple HTML form that will be parsed by a perl script, and put it on a Domino web server.
However, Errors come up whenever I try to access the script. I either get "Error: 500 - Unable to run CGI script", or simply "The page cannot be displayed (cannot find server or dns)". If I try to run the script directly, I get a download link.
I have looked though notes.net, and havent found anything that works. So far, I have:
-Added PERLBIN=c:\perl\bin\perl.exe to the Win2k environment vars.
-Added PERLBIN=c:\perl\bin\perl.exe to Notes.ini
-Added the Perl bin directory and all cgi directories to the windows PATH env var.
-Made sure the file has a .pl extension, and not .cgi.
-Tried changing the cgi-bin paths in the Domino administrator
-Tried all sorts of TARGET tags in my html page.
-Banged my head against the wall multiple times.
-Successfully ran the perl scripts from the command line.
For sake of simplicity, the perl script that I am trying to run is simply a one line script:
print "test";
To be noted: It appears that the cgi-bin directory in the Domino Administrator has not been changed from the original value. Currently the values are:
"CGI Directory: domino\cgi-bin"
"CGI URL path: /cgi-bin"
HOWEVER, where the main website files are HAS been changed. That is now "d:\ Despite this, it seems like the cgi-files are still accessed from the correct place, which is "D:\Lotus\Domino\Data\domino\cgi-bin".
Im really at the end of my rope here in terms of where to find information to get this to work. Every forum seems to say something different, and none of it has worked.
Hopefully someone here could point me in the right direction!
Thanks!
-Jeremiah
I am having a problem here, and I am completely stumped.
First: The env: Running Domino 5.0.8 on a Win2k (all updates installed) server.
I am trying to write a simple HTML form that will be parsed by a perl script, and put it on a Domino web server.
However, Errors come up whenever I try to access the script. I either get "Error: 500 - Unable to run CGI script", or simply "The page cannot be displayed (cannot find server or dns)". If I try to run the script directly, I get a download link.
I have looked though notes.net, and havent found anything that works. So far, I have:
-Added PERLBIN=c:\perl\bin\perl.exe to the Win2k environment vars.
-Added PERLBIN=c:\perl\bin\perl.exe to Notes.ini
-Added the Perl bin directory and all cgi directories to the windows PATH env var.
-Made sure the file has a .pl extension, and not .cgi.
-Tried changing the cgi-bin paths in the Domino administrator
-Tried all sorts of TARGET tags in my html page.
-Banged my head against the wall multiple times.
-Successfully ran the perl scripts from the command line.
For sake of simplicity, the perl script that I am trying to run is simply a one line script:
print "test";
To be noted: It appears that the cgi-bin directory in the Domino Administrator has not been changed from the original value. Currently the values are:
"CGI Directory: domino\cgi-bin"
"CGI URL path: /cgi-bin"
HOWEVER, where the main website files are HAS been changed. That is now "d:\ Despite this, it seems like the cgi-files are still accessed from the correct place, which is "D:\Lotus\Domino\Data\domino\cgi-bin".
Im really at the end of my rope here in terms of where to find information to get this to work. Every forum seems to say something different, and none of it has worked.
Hopefully someone here could point me in the right direction!
Thanks!
-Jeremiah