[Petal] best practices question(s)

Jonathan Vanasco petal-list at 2xlp.com
Tue Jun 27 22:49:06 BST 2006


> 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
| - - - - - - - - - - - - - - - - - - - -






More information about the Petal mailing list