>>>>> "CG" == Clint Gilders <[EMAIL PROTECTED]> writes:

CG> <Location /test>
CG>     SetHandler perl-script
CG>     PerlHandler Apache::Sandwich
CG>     PerlSetVar HEADER "/body.html"
CG>     PerlSetVar FOOTER "/bottom.html"
CG> </LOCATION>

You should Sandwich based on a Files rather than Location, or else
you're gonna end up trying to sandwich images and possibly your
header/footer recursively.  I'd also recommend *not* naming your
headers/footers with the same extension as your files being
sandwiched.

I think what your immediate problem comes from is that you're telling
Apache to use a different handler on everything inside /test and that
means that the default handler that converts directory accesses to the
"index.html" file doesn't get run.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: [EMAIL PROTECTED]       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

Reply via email to