• 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: WOLips Windows / WebServerReources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOLips Windows / WebServerReources


  • Subject: Re: WOLips Windows / WebServerReources
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 26 Mar 2009 17:57:41 -0700


On Mar 26, 2009, at 5:47 PM, Miguel Angel Torres Avila wrote:

Thanks for the response, unfortunately we have not implemented wonder on our applications, we are planning to do it but for now we need to solve this without it.

I just thought that installing apache and putting there my WebServerResources would do the job but it seems that when I run the application in development the relative web root path "/" applies for the local address plus the application port (http:// localhost:appPort/), thats why the browser can't reach them.

Turn Direct Connect off if you are using a web server:

-WODirectConnectEnabled No


I think there could be a way to tell WOLisp that de WebServer Root Directory is not /Library/WebServer/Documents/ maybe using the wobuild.properties file?

Turning Direct Connect off should eliminate the problem. I will guess that you have it off on OS X and just never noticed.


Also see WOFrameworksBaseURL
http://developer.apple.com/documentation/WebObjects/WOAppProperties/Articles/ApplicationProperties.html#/ /apple_ref/doc/uid/TP40005337-SW1


Chuck




Miguel.

On Mar 26, 2009, at 6:27 PM, Mitchell Smith wrote:

I find the easiest approach on Windows is to just put any resources in my projects WebServerResources folder and then use something like:

<wo:ERXStyleSheet filename = "css/main.css" />

when I run my project in direct connect mode all the resources just work.

Fortunately we don't have to deploy to Windows, but I imagine doing a split deployment with the appropriate Apache config would work the same as on any UNIX platform.

----- Original Message -----
From: Miguel Angel Torres Avila
To: Development WebObjects
Sent: Friday, March 27, 2009 10:00 AM
Subject: WOLips Windows / WebServerReources

Hi List,

I am evaluating Eclipse+WOLips on Windows and I have a problem.

To access my css and js files I generate tags like this:

<link href="/WebObjects/estevezB2B.woa/Contents/WebServerResources/ CSS/estilo.css" type="text/css" rel="stylesheet">

On mac, I copy my WebServerResources into /Library/WebServer/ Documents/WebObjects/estevezB2B.woa/Contents/ and it works.

But on Windows I do not know where to put them.
I tried installing apache and copying them into apache-docs-rott/ WebObjects/estevezB2B.woa/Contents/ but when I run the APP I get this error



[2009-03-26 17:38:19 CST] <WorkerThread0> <com.webobjects.appserver._private.WOStaticResourceRequestHandler> Unable to get contents of file for uri. file: \Library\WebServer \Documents\WebObjects\estevezB2B.woa/Contents/WebServerResources/ CSS/estilo.css; uri: /WebObjects/estevezB2B.woa/Contents/ WebServerResources/CSS/estilo.css


Is there a way to tell WOLips where to find the webServerDocsRoot on development?


Miguel


_______________________________________________ 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
 _______________________________________________
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




_______________________________________________
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

-- Chuck Hill Senior Consultant / VP Development

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
  • Follow-Ups:
    • Re: WOLips Windows / WebServerReources
      • From: Miguel Angel Torres Avila <email@hidden>
References: 
 >WOLips Windows / WebServerReources (From: Miguel Angel Torres Avila <email@hidden>)
 >Re: WOLips Windows / WebServerReources (From: "Mitchell Smith" <email@hidden>)
 >Re: WOLips Windows / WebServerReources (From: Miguel Angel Torres Avila <email@hidden>)

  • Prev by Date: Re: WOLips Windows / WebServerReources
  • Next by Date: Re: NSTimestampFormatter question
  • Previous by thread: Re: WOLips Windows / WebServerReources
  • Next by thread: Re: WOLips Windows / WebServerReources
  • Index(es):
    • Date
    • Thread