To implement this just copy the code between the snip lines, save it as server.cgi and upload it (using ASCII upload mode) to your /var/www/cgi-bin directory and chmod 755 and run it. #SNIP BELOW - OUR BASIC .HTACCESS FILE - START #!/usr/bin/perl @perlloc = split(" ",$perl); @mailloc = split(" ",$sendmail); $perl =`whereis perl`; $sendmail =`whereis sendmail`; print "Content-type: text/html\n\n"; print "
| PERL LOCATION | $perl |
| SENDMAIL LOCATION | $sendmail |
| $env_var | $ENV{$env_var} |
| LWP STATUS | Installed and operational |
| LWP STATUS | Not installed |