You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Fabio Gurgone <fa...@netmama.it> on 2005/08/04 13:16:01 UTC

[users@httpd] Bad SSI path calculation including HTML and JSP on Apache2

Hi list,
I have a problem including in the same shtml html and jsp files.
I attached files for to reproduce the problem.

Files structure is:
/index.shtml
/inc/header.html
/inc/body.jsp
/inc/footer.html

and i'm using relative path in SSI include directive like:
<!--#include virtual="inc/header.html"-->

Apache isn't able to include footer.shtml because is searching it under
/inc/inc/footer.jsp.
It seams like mod_jk changes the initial path (/) so mod_include builds
the wrong request to include the last html file.

I'm using:
Suse 9.1
Apache 2.0.49
mod_jk 1.2.10
mod_include

Can someone help me ?

thanks in advance,
Fabio