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

CG>     I'm trying to figure out how to "Sandwich" php files.  Is this
CG> possible? For my .htm* files I have:

I find it risky to run sandwich on *.htm* files... your header file
itself is a .html file; do you want that sandwiched as well?  I guess
the module protects itself from that, but still, it is unclean.


CG> <FilesMatch "\.html|htm$">
CG>     SetHandler perl-script
CG>     PerlHandler Apache::Sandwich
CG>     PerlSetVar HEADER "/includes/head.html"
CG>     PerlSetVar SandwichHandler server_parsed
CG> </FilesMatch>

CG> What would I need to change to have this work for php?

Tell SandwichHandler to run the php handler instead of the
server_parsed handler.  I have never tried it, but theoretically, it
should work, assuming I implemented it correctly ;-)


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