• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 412
  • Last Modified:

domino and cgi or php, etc

Hope I'm in the right place for this question and excuse my ingnorance in this area (servers & cgi).

My client has a Domino server and our company generally utilises asp for database integration. We need to integrate a simple Microsoft Access database into a web project on this server. I am wondering what werver side technology we should be looking at for this on a lotus domino server and how the client should make this technology active?

Is cgi support built in and how is it activated, etc???

TIA
0
woosey
Asked:
woosey
  • 3
1 Solution
 
PeeweeCommented:
woosey,
this question seems to have been ignored for some reason so i shall answer it for you.

step 1:  Do u have perl?

on the command prompt type perl -v.

step 2: where is Perl
if on unix type which perl?
if on windows find where the perl.exe file is

usually if you have perl, which you will have if step 1 was sucessful it will be in /usr/local/bin or /usr/bin etc.

step 3:
check your server configuration for cgi entries.  Typically the server file will tell you where the cgi-bin is located:

step 4:
place the following script in the cgi-bin and make sure the first line is the same location as the perl executable. As the first line in a cgiscript is typically the path to the program it is executing -  hence in the example below perl is located on /usr/bin/perl.  If you have a windows server installation, perl may actually be located at C:\usr\bin\perl but this is seen as the same path as the above.


step 5:
run the script in the browser ie localhost/cgi-bin/script.pl

step 5:
report back -= let me know how u got on.

regards Peewee


#!/usr/bin/perl
##
##  printenv -- demo CGI program which just prints its environment
##

print "Content-type: text/html\n\n";
foreach $var (sort(keys(%ENV))) {
    $val = $ENV{$var};
    $val =~ s|\n|\\n|g;
    $val =~ s|"|\\"|g;
    print "${var}=\"${val}\"\n";
}

0
 
PeeweeCommented:
woosey,

did you get the answer you were looking for?


regards Peewee
0
 
PeeweeCommented:
woosey,

please clean up the status of this question?


regards Peewee
0
 
SpideyModCommented:
Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now