>I'm developing a CGI application. It includes a perl module that
>gets installed in the usual place, some command-line scripts that
>should go in INSTALLSCRIPT and some CGI scripts that need to go into
>a cgi-bin directory.
>
>What is my best strategy for handling installation?

The cgi-bin directory will be in wildly different places from one
system to the next, so there's nothing you can do.  Besides, adding
CGI programs to a live website is a security concern (I'm not saying
your programs are insecure, just that it's a decision the
administrator must make) so they should be copied in by hand.

Just print a warning message listing the CGI programs that should be
installed.  If you are thinking of a particular system, and a
particular place to put the CGIs, then it would probably be best to
keep them out of the Makefile.PL (which is supposed to apply to all
systems) and just have a shell script which runs make and then copies
a couple of files with cp.

-- 
Ed Avis <[EMAIL PROTECTED]>


Reply via email to