Re: shtml on WO 5.3
Re: shtml on WO 5.3
- Subject: Re: shtml on WO 5.3
- From: Chuck Hill <email@hidden>
- Date: Sun, 18 Sep 2005 12:28:29 -0700
I don't think this is possible. Apache does not check the results of
running a process (cgi scripts etc.) for SSI. You _can_ include
direct action calls to WO from a static HTML file. Or you can use
WOHTTPConnection from the page in WO to do the include.
Chuck
On Sep 18, 2005, at 10:05 AM, Miguel Arroz wrote:
Hi!
I finally could setup everything right so that Apache is handling
my requests. The problem is that I still don't have server-side
includes working... I setup apache to parse .shtml pages stored on
the DocumentRoot, and it works. But nothing that cames from
WebObjects is being parsed by apache, so my server-side includes
are still not working... :-( any ideas?
Yours
Miguel Arroz
On 2005/09/18, at 02:19, Art Isbell wrote:
On Sep 17, 2005, at 2:06 PM, Miguel Arroz wrote:
I need to include some template HTML code on my components that
uses server side includes. When running my app on the develop
machine, the includes are not processed. I assume this is due to
the fact that the pages are not going trough apache. Instead, the
browser is accessing the app directly (http://localhost:12345/
blablabla). Is there a way to make this work on the development
machine?
What I do is fire up JavaMonitor if it's not already running
and configure an instance of the app I'm developing. JavaMonitor
will assign a port to the app instance. If it's 2001, for
example, add "-WOPort 2001" to the app's Xcode launch arguments.
You may also need to add "-WOAutoOpenInBrowser NO" as another
Xcode launch argument to prevent the app from opening in your
default Web browser in Direct Connect mode when it's launched.
Then build and run or debug the app as usual. You'll then need to
enter a normal Web server type URL in your Web browser: "http://
localhost/cgi-bin/WebObjects/<your_app_name>".
Aloha,
Art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40guiamac.com
This email sent to email@hidden
"I felt like putting a bullet between
the eyes of every Panda that wouldn't
scr*w to save its species." -- Fight Club
Miguel Arroz
http://www.ipragma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Unnamed - an introduction to web applications using WebObjects and
Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden