Boex,Matthew W. wrote:

> is it preferred to have a cgi print the inital .html template page, or
> should i put it in the html dir, and point the FORM tag to the cgi.  i know
> putting in the html dir will speed things up, no perl process to spawn.  i
> will be using fast cgi in the near future...


if you serve your template pages from your document root (without having 
perl and HTML::Template parse them), they'll have <TMPL_VAR>'s and 
<TMPL_LOOP>'s etc. sprinkled throughout.  i doubt you'd really want that.

normally, i set up an httpd virtual host like this (this is on linux w/ 
apache):

server root:  /path/to/vhosts/domainname/
document root:  /path/to/vhosts/domainname/html/
template root:  /path/to/vhosts/domainname/templates/
cgi-bin:  /path/to/vhosts/domainname/cgi-bin/

it's probably best to not put your template files in the document root.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to