httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabio Gurgone <fabio.gurg...@netmama.it>
Subject [users@httpd] Bad SSI path calculation including HTML and JSP on Apache2
Date Thu, 04 Aug 2005 11:16:01 GMT
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





Mime
View raw message