#include on iSeries
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere HTTP Server > #include on iSeries




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    #include on iSeries  
Larry Schweyer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-09-04 04:19 PM

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.







[ Post a follow-up to this message ]



    Re: #include on iSeries  
2we


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-08-04 12:53 PM

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







[ Post a follow-up to this message ]



Nukn_Futz is offline       
Nukn_Futz


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for Nukn_Futz Click here to Send Nukn_Futz a Private Message Find more posts by Nukn_Futz Add Nukn_Futz to your buddy list
 
01-30-06 03:13 PM

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 li
mitation does help in development. 

So Pelle ... this should work ... if you add this to your index.shtml file i
n 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




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:51 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register