Hi Brad,

I would recommend you make a directory that is outside your webspace
to house your modules. If only to keep people from digging around in
there.

I usually do something like

/usr/www/www.mysite.com/www - this dir holds my cgi's my images, my html
/usr/www/www.mysite.com/etc/ - this holds my templates, my modules etc.

then of course in your instance script have something like this after
"use strict"

use lib '/usr/www/www.mysite.com/etc/`;

It's handy for me because where I work we don't share our code.

Jeff.


On 12/18/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>  Where's the best the place for instance and application files?
>
> I thought, originally, that instance scripts would go in my web directory,
> as in index.cgi, so it would fire automatically. But maybe, if I go with
> the multi-instance scenario that Jesse just suggested, they should go in
> my /cgi-bin.
>
> And then the applications themselves would logically go in /cgi-bin as
> well. So, if I have an instance script of 'users.cgi' and my applications
> are My::User and ::Save I would maybe set it up like:
>
> http://www.domain.com/cgi-bin/users.cgi
> http://www.domain.com/cgi-bin/My/User.pm
> http://www.domain.com/cgi-bin/My/User/Save.pm
>
> Does this work?
>
> What was throwing me off is the CPAN modules that are off my root directory.
>
> Thanks,
>
> Brad
>
>
>
>
> ---------------------------------------------------------------------
> Web Archive:  http://www.mail-archive.com/[email protected]/
>               http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jeff MacDonald
http://www.halifaxbudolife.ca
http://www.nintai.ca

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to