• 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: Using WebObjects with Virtual Hosting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using WebObjects with Virtual Hosting


  • Subject: Re: Using WebObjects with Virtual Hosting
  • From: Randall Perry <email@hidden>
  • Date: Thu, 19 Aug 2004 12:33:57 -0400

on 8/18/04 11:02 AM, David Griffith at email@hidden wrote:

> Ok, so if I have two Virtual Hosts setup and I want images to be loaded from
> the images directory in the folder for Host1, can I use a relative reference
> in WO to generate the image source?
>
> Anytime I try and use, for example:
>
> /images/imagename.jpg
>
> It tries to load the image from:
>
> http://www.host1.com/cgi-bin/WebObjects/Host1.woa/contents/WebServerResource
> s
>
> But of course the images are at:
>
> http://www.host1.com/images/
One trick to use is putting a symlink called 'images' in the
/Library/WebObjects/Host1.woa/contents/WebServerResource folder pointing to
your virtual host's image folder.

There's been some discussion of this issue on the deploy lists also -- you
may want to look there also.
>

--
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Design/Development
WebObjects Hosting
Mac Consulting/Sales

http://www.systame.com/
_______________________________________________
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: 
 >Re: Using WebObjects with Virtual Hosting (From: David Griffith <email@hidden>)

  • Prev by Date: sorting output
  • Next by Date: Re: Practical WebObjects by Chuck Hill
  • Previous by thread: Re: Using WebObjects with Virtual Hosting
  • Next by thread: Re: Using WebObjects with Virtual Hosting
  • Index(es):
    • Date
    • Thread