Re: Using WebObjects with Virtual Hosting
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.