* tom poe (to...@re...) [011130 00:37]:
> Anyway, here's my question. I am running SuSE7.1, Apache1.3.14,
> mod_perl1.24-99, perl5.6.0 at /usr/bin/perl and perl5.6.1 at
> /usr/local/bin/perl [don't ask, as I really thought cpan would
> overwrite 5.6.0, rather than install separately]. I can run cgi-bin
> scripts with: http://localhost/httpd/cgi-bin/somefile.cgi or .pl at
> this time. As you know, permissions is a big thing.
Sure.
> Specifically, if I install OpenInteract as $, rather than #, and put
> it someplace outside of documentRoot for apache, will that be what I
> do if I am simply installing on my machine for development purposes?
> Something tells me I sort of need to coordinate this with installing
> within the documentRoot directory as root #. What's your
> suggestion? Thanks, Tom
Not a problem. You can use the normal perl mechanism for installing
modules to a local directory (e.g. 'perl Makefile.PL PREFIX=~/lib').
And then use a local directory for your OpenInteract base installation
(e.g., 'oi_manage install --base_dir=~/OpenInteract'). You should then
be able to create local sites to your heart's content, as long as
Apache can put your local library directory (~/lib) in its @INC. (A
'<Perl>use lib qw( /home/tompoe/lib )</Perl>' section would likely do
the trick.)
Note that OpenInteract currently does not run under CGI -- it requires
mod_perl. I hope to change this in the relatively near future.
Hope this helps,
Chris
--
Chris Winters (ch...@cw...)
Building enterprise-capable snack solutions since 1988.
|