Re: best practices question(s)
Jonathan Vanasco <[email protected]> Tue, 27 Jun 2006 17:49:06 -0400
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
> On Fri 23-Jun-2006 at 13:21 -0700, Corey wrote: >> >> Where "best" to put the pe(tal) templates -- under the >> cgi-bin or under the htdocs? i.e: >> >> * /var/www/localhost/cgi-bin/foobar/ >> OR >> * /var/www/localhost/htdocs/foobar/ i'd stay away from that model completely i have things as such ( as an svn tree in /usr/local/www/sites/APPNAME ) /lib/ /lib-external/ /www/ /3ld.2ld.1ld/ lib are perlmodules for my app 'cgi-bin' lib-external are support modules www is the root for htdocs apache2 is configured to server out of www , which has domain specific files urls are mapped onto mod-perl for handling specific urls out of the lib directory cgi-bin stuff is so web1999 | - - - - - - - - - - - - - - - - - - - - | RoadSound.com / Indie-Rock.net | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - -