• 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: shtml on WO 5.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shtml on WO 5.3


  • Subject: Re: shtml on WO 5.3
  • From: Miguel Arroz <email@hidden>
  • Date: Sun, 18 Sep 2005 18:05:55 +0100

Hi!

I finally could setup everything right so that Apache is handling my requests. The problem is that I still don't have server-side includes working... I setup apache to parse .shtml pages stored on the DocumentRoot, and it works. But nothing that cames from WebObjects is being parsed by apache, so my server-side includes are still not working... :-( any ideas?

  Yours

Miguel Arroz

On 2005/09/18, at 02:19, Art Isbell wrote:

On Sep 17, 2005, at 2:06 PM, Miguel Arroz wrote:


I need to include some template HTML code on my components that uses server side includes. When running my app on the develop machine, the includes are not processed. I assume this is due to the fact that the pages are not going trough apache. Instead, the browser is accessing the app directly (http://localhost:12345/ blablabla). Is there a way to make this work on the development machine?


What I do is fire up JavaMonitor if it's not already running and configure an instance of the app I'm developing. JavaMonitor will assign a port to the app instance. If it's 2001, for example, add "-WOPort 2001" to the app's Xcode launch arguments. You may also need to add "-WOAutoOpenInBrowser NO" as another Xcode launch argument to prevent the app from opening in your default Web browser in Direct Connect mode when it's launched. Then build and run or debug the app as usual. You'll then need to enter a normal Web server type URL in your Web browser: "http://localhost/cgi-bin/ WebObjects/<your_app_name>".


Aloha,
Art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40guiamac.com


This email sent to email@hidden



      "I felt like putting a bullet between
       the eyes of every Panda that wouldn't
       scr*w to save its species."       -- Fight Club

Miguel Arroz
http://www.ipragma.com



_______________________________________________
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: shtml on WO 5.3
      • From: Chuck Hill <email@hidden>
References: 
 >shtml on WO 5.3 (From: Miguel Arroz <email@hidden>)
 >Re: shtml on WO 5.3 (From: Art Isbell <email@hidden>)

  • Prev by Date: AW: AW: WOTimer problem
  • Next by Date: Re: shtml on WO 5.3
  • Previous by thread: Re: shtml on WO 5.3
  • Next by thread: Re: shtml on WO 5.3
  • Index(es):
    • Date
    • Thread