Re(2): SSI within main.html
Re(2): SSI within main.html
- Subject: Re(2): SSI within main.html
- From: Chris Whatley <email@hidden>
- Date: Wed, 21 Jan 2004 09:56:27 -0500
On Sun, Jan 18, 2004, Chuck Hill wrote:
Yes. You can include HTML generated by WO into static pages (direct
actions are easiest). But including static HTML files into the
result of a
cgi call is not supported by Apache.
Chuck,
Can you point to an example of how to include the HTML generated by WO
into static pages served on Apache. Our site is comprised of hundreds
of
ssi includes, and I would like to use WO to generate some dynamic
tables
to be included in those pages--course schedules and such. I really
don't
want to generate the whole page in WO if I can include just the course
schedule table from WO.
E.g.:
<!--#include virtual="/cgi-bin/WebObjects/Foo.woa/wa/doSomething"-->
I haven't done this since WO 4.X, but under that version, mod_include
would pass the request in to the app with a mangled URI, so we had to
write a direct action request handler that demangled the URL before
processing the request. Maybe 5.X and a more recent apache combo won't
have the same issue.
Chris Whatley
_______________________________________________
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.