Re: coexisting with apache and images in .wo files
Re: coexisting with apache and images in .wo files
- Subject: Re: coexisting with apache and images in .wo files
- From: Michael Parlee <email@hidden>
- Date: Wed, 9 Jul 2003 06:43:20 -0700
On Wednesday, July 9, 2003, at 05:54 AM, Henrik Hartz wrote:
Hi
I'm fairly new to the WebObjects environment, and I have previous
experience with EJB and PHP. How can I deploy applications so they run
on standard web-ports and in co-existence with my regular Apache http
and https webpages?
Assuming you are deploying with JavaMonitor and wotaskd, the Apache
server will have to have an adaptor installed that points the request
on port 80 to your running WO app. The default deployment build will
expect to find images and other static resources at a relative path
starting with "/WebObjects/..." that is a subdirectory of your htdocs
directory.
Another issue I haven't yet resolved are images in
.wo files. On some of the pages I have made, images constantly link to
local files when I run the application, hence only working when
browsing from the computer that runs the appserver. Image files are
included in the page (through WebObjects Builder) by dragging from
project file listing into the webpage.
It is important to add your images to the Web Server Resources folder
in ProjectBuilder. If you've done that they will be included in the
application bundle (.woa) and deployed along with it. If you are able
to deploy using project builder it will place a copy of the web server
resources in the appropriate directory on your apache server. If you
deploy manually you will need to copy the web server resources from the
.woa bundle into the a corresponding directory under
<apache_root>/htdocs/WebObjects.
Mike
_______________________________________________
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.