• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Apache SSI and WebObjects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache SSI and WebObjects


  • Subject: Re: Apache SSI and WebObjects
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 23 Apr 2004 09:05:58 -0700

Not sure what you are trying to do... You can include the result of a direct action in a static HTML page. Apache won't let you use an SSI include in the result of a CGI call.

That said, it looks like something is passing a bad request to the WO app. It does not appear to be a WO problem - the app is getting sent something that is not a properly formed HTTP request.

Chuck


On Apr 23, 2004, at 8:37 AM, Matthias Jakob wrote:

Hi there, hi wo freaks!

I've a problem with Apache SSI and WebObjects. My System is a out of
the Box G5 with WO develop installed, mod_Webobjects is used,
-DWODirectConnectEnabled=false for Apache connects ...

My Problem is that WebObjects says that:

Apache Include: <!--#include
virtual="/cgi-bin/WebObjects/anaesthesie.woa/-54529/wa/DirectAction/
page?link=test" -->

WO:
[2004-04-23 15:28:51 CEST] <WorkerThread12> <WOWorkerThread id=12
socket=Socket[addr=/192.168.1.12,port=64208,localport=54529]> Exception
while creating request: java.lang.IllegalArgumentException:
<com.webobjects.appserver.WORequest>: 'INCLUDED' is not a valid
HTTP-version; dropping connection
[2004-04-23 15:28:51 CEST] <WorkerThread12>
java.lang.IllegalArgumentException:
<com.webobjects.appserver.WORequest>: 'INCLUDED' is not a valid
HTTP-version
at com.webobjects.appserver.WORequest.<init>(WORequest.java:224)
at
com.webobjects.appserver.WOApplication.createRequest(WOApplication.java :
1734)
at
com.webobjects.appserver._private.WOHttpIO.readRequestFromSocket(WOHttp I
O.java:345)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread .
java:79)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.jav a
:254)
at java.lang.Thread.run(Thread.java:552)


Includes in Apache worked fine (tested with a simpel Perl script).

John C. Beatty has a perl script which generates the requests. See
http://www.wodeveloper.com/omniLists/webobjects-dev/2001/May/
msg00774.html.

My question is: is there an other way to use WO and SSI. A Perl script
isn't such a fast thing !!


Pleas help!!


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


References: 
 >Apache SSI and WebObjects (From: Matthias Jakob <email@hidden>)

  • Prev by Date: Primary Key generation - size limit
  • Next by Date: Re: SOLVED Question for the Java Gurus
  • Previous by thread: Apache SSI and WebObjects
  • Next by thread: Primary Key generation - size limit
  • Index(es):
    • Date
    • Thread