• 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: coexisting with apache and images in .wo files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: coexisting with apache and images in .wo files
      • From: Chuck Hill <email@hidden>
References: 
 >coexisting with apache and images in .wo files (From: Henrik Hartz <email@hidden>)

  • Prev by Date: coexisting with apache and images in .wo files
  • Next by Date: WebObjects on Solaris 9
  • Previous by thread: coexisting with apache and images in .wo files
  • Next by thread: Re: coexisting with apache and images in .wo files
  • Index(es):
    • Date
    • Thread