|
Home > Archive > WebSphere HTTP Server > January 2006 > #include on iSeries
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
#include on iSeries
|
|
| Larry Schweyer 2004-07-09, 11:19 am |
| I am running the iSeries HTTP server based on Apache.
I can not get the #include directive to work. The browser reports that
there were problems with the directive, and the HTTP log just says: "Unable
to include "/common.shtml" in parsed file /www/..."
I have tried the virtual and file flavours with the same result. As far as I
know, I've got everything configured correctly. I can serve up things like
variables, just can not get include to work.
Here's my include statement: <!--#include virtual="/common.shtml" -->
The common.shtml file is in the root as is the document that is trying to
include it. I've tried with and without the '/'.
Any ideas? Thanks.
| |
|
| Hi Larry,
I have the same problem with the Include-files. I get the following error in
the log file:
[Tue Dec 07 15:01:35 2004] [error] [client 213.100.48.224] ZSRV_MSG0412:
Unable to include "/www/hemsida/htdocs/ssi/top-right-start.txt" in parsed
file /www/hemsida/htdocs/index.shtml.
My IBM HTTP-server (powered by Apache) runs om v5r3 and I have just recently
upgraded to the latest PTF-level.
Have you found any solution to this problem yet? I would greatly appreciate
if anyone in this forum could shred some light to this issue....
Regards/
Pelle and 2we
"Larry Schweyer" <schweyer@ca.ibm.com> wrote in message
news:ccka38$347e$1@news.boulder.ibm.com...
> I am running the iSeries HTTP server based on Apache.
> I can not get the #include directive to work. The browser reports that
> there were problems with the directive, and the HTTP log just says:
"Unable
> to include "/common.shtml" in parsed file /www/..."
> I have tried the virtual and file flavours with the same result. As far as
I
> know, I've got everything configured correctly. I can serve up things like
> variables, just can not get include to work.
> Here's my include statement: <!--#include virtual="/common.shtml" -->
> The common.shtml file is in the root as is the document that is trying to
> include it. I've tried with and without the '/'.
>
> Any ideas? Thanks.
>
>
| |
| Nukn_Futz 2006-01-30, 10:13 am |
| I had the same issue ... I'm at V5R1M0 ... looks like it will only work from the document rott forward not the server root ... I talked w/ IBM and they are sending me out PTFs ... they may or may not help ... but knowing this limitation does help in development.
So Pelle ... this should work ... if you add this to your index.shtml file in directory htdocs.
<!--#include virtual="ssi/top-right-start.txt" -->
I don't think the SSI function has the ability to use root server paths ... but that's just my guess.
Hope this helps.
Shawn |
|
|
|
|