On Mon, Aug 19, 2013 at 08:22:42AM -0700, Chris Travers wrote: > There is some additional configuration needed for rest.pl to work. When > you try do you get a 404? > > Best wishes, > Chris Tavers
Oops, I failed completely in what I wanted to get across. My dad frequently tells me when I say something, that just because I know what I'm talking about doesn't mean anyone else does! :) No what I meant was like this: For example. $ perl -e 'require nobies_home.pl;' Can't locate nobies_homepl in @INC (@INC contains: /usr/local/libdata/perl5/site_perl/i386-openbsd /usr/libdata/perl5/site_perl/i386-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl /usr/libdata/perl5/i386-openbsd/5.16.3 /usr/local/libdata/perl5/i386-openbsd/5.16.3 /usr/libdata/perl5 /usr/local/libdata/perl5 .) at -e line 1. These are OK. No problem. /usr/local/libdata/perl5/site_perl/usr/libdata/perl5/site_perl/LedgerSMB.pm /usr/local/libdata/perl5/site_perl/usr/libdata/perl5/site_perl/LedgerSMB/DBObject.pm But login.pl is disastrous. $ locate login.pl /home/chris101/Tools/MyPerl/login.pl /home/chris101/corebackups/benn/perl/login.pl /home/var/www/var/www/htdocs/users/bennettconstruction.us/perl/login.pl /var/www/var/www/htdocs/users/capuchado.com/perl/login.pl etc. I can put all of the LedgerSMB:: stuff into regular perl @INC locations, but the *.pl stuff can't go there. > > > On Sun, Aug 18, 2013 at 12:41 PM, Chris Bennett < > [email protected]> wrote: > > > I've started working on an OpenBSD port. > > I haven't passed anything upwards to the OpenBSD people yet. > > > > Right now, I am running this partially like a CPAN package would go, but > > not installing the perl into the standard perl directories. > > The LedgerSMB namespace is OK, but stuff like rest.pl sitting out in the > > open doesn't work. > > I have the manual pages built and installed, though. > > > > Since everyone might install the web files into different directories, I > > am putting everything into /usr/local/share/ledgersmb. > > > > I then have a script to move the web files into a location that can be > > chosen in /var/www and take care of all of the other file details. > > I am leaving the docs and other files only in /usr/local/share/ledgersmb. > > So far all of this seems to be working fine. > > > > One of my questions right now is: > > > > What files and directories actually need to be placed into the website > > area? What can I leave out of that area? For better security, it seems > > best not to add anything unnecessary to that area. > > Should I keep LedgerSMB-manual.pdf web accessable? > > > > Any opinions, suggestions? > > I won't be passing this upwards in OpenBSD for a while. There has been a > > major ABI change and everyone is very busy right now. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Ledger-smb-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
