Re: SSI and WO (was Re: Mixing HTML & WO Pages?)
Re: SSI and WO (was Re: Mixing HTML & WO Pages?)
- Subject: Re: SSI and WO (was Re: Mixing HTML & WO Pages?)
- From: Chuck Hill <email@hidden>
- Date: Fri, 21 Nov 2003 19:17:21 -0800
That is very strange. Have you verified that your server is setup
correctly and that you can use SSI to include one static HTML file into
another? I can't imagine what else might be wrong. If SSI works for
static pages and not including WO output into static pages then I'd start
looking out the requests. You can do this by overriding dispatchRequest in
Application and printing out the details of the request received. That may
provide some clue as to what is going wrong.
Chuck
At 03:20 PM 21/11/2003 -0800, Klaus Berkling wrote:
>On Wednesday, November 19, 2003, at 09:07 PM, Chuck Hill wrote:
>
>> Its been a while since I've done this and I don't have the code at
>> hand.
>> This looks mostly OK to me:
>> <!-- #include virtual="/cgi-bin/WebObjects/Test.woa/1" -->
>>
>> I'd get rid of the /1 though:
>> <!-- #include virtual="/cgi-bin/WebObjects/Test.woa" -->
>>
>> [...]
>>
>> You might also need to specify the server, I don't recall if this is
>> needed
>> or not:
>>
>> <!-- #include
>> virtual="http://<hostname>/cgi-bin/WebObjects/Test.woa/wa/header" -->
>>
>>
>> Does any of that work for you?
>
>None of that worked. I turned on the logs and found this:
>
>> [2003-11-21 14:14:05 PST] <WorkerThread0> <WOWorkerThread id=0
>> socket=Socket[addr=/192.168.10.101,port=51335,localport=2002]>
>> Exception while creating request: java.lang.IllegalArgumentException:
>> <com.webobjects.appserver.WORequest>: 'INCLUDED' is not a valid
>> HTTP-version; dropping connection
>
>It looks like I am talking to the application but WO doesn't seem to
>like what it's getting.
>
>Thanks
>
>kib
>_______________________________________________
>webobjects-dev mailing list | email@hidden
>Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>Do not post admin requests to the list. They will be ignored.
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.