Hi,

I am trying to use your Sandwich module, which is really great and
helpful. So first of all I want to thank you for the great job you've
done.

On the other hand, I am trying to put an shtml file as header, and it
seems like the SSI directives in it are not parsed. In the documentation
you wrote, you say the included docs are fetched using GET, and the
server will do whatever is needed to them, but it doesn't seem to work.
Can you help ? is there a newer version ?

p.s. -  I'm running Apache 1.3.9 with mod_perl on a Solaris box.

Excerpts from my httpd.conf file:

#
# To use server-parsed HTML files
#
AddType text/html .shtml
AddHandler server-parsed .shtml
AddHandler server-parsed .html

<Files ~ "\.s{0,1}html$">
 SetHandler  perl-script
    PerlHandler Apache::Sandwich

    # use these documents as header and footer
    PerlSetVar HEADER /.includes/header2.shtml
    PerlSetVar FOOTER /.includes/footer.shtml

    # parse ssi after sandwiching the page
    PerlSetVar SandwichHandler server-parsed

    # Options Includes     # shayman - it doesn't seem to work
</Files>


Thanks in advance,


Shay Mandel

Reply via email to