• 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: OT - OSX Server Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT - OSX Server Question


  • Subject: Re: OT - OSX Server Question
  • From: Michael Engelhart <email@hidden>
  • Date: Mon, 3 May 2004 21:15:18 -0500

If you're deploying on Apache, use mod_rewrite. An infinitely more flexible way of doing it and a lot slicker from a user experience point of view IMHO.

I think this rewrite rule would work:

RewriteEngine On
RewriteRule ^/ "/cgi-bin/WebObjects/YourApp.woa/" [L,PT]

This has the effect that if someone comes to
http://www.yourdomain.com/

their browser will still show that but behind the scenes Apache will return the WO app's home page.

There is some good documentation on mod_rewrite at http://www.apache.org/
let me know if you're having trouble and I can give you some tip as well.



Mike


On May 3, 2004, at 9:01 PM, Arturo Pirez wrote:

On May 3, 2004, at 9:54 PM, James Cicenia wrote:

Hello -

Right now I have a silly temporary fix where my index.htm page redirects
to the full url, i.e., test.mydomain.com/cgi-bin/WebObjects/app

IIRC, that's one of the recommended ways to do it. It's certainly the easiest.


----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.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.
_______________________________________________
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: OT - OSX Server Question
      • From: James Cicenia <email@hidden>
References: 
 >OT - OSX Server Question (From: James Cicenia <email@hidden>)
 >Re: OT - OSX Server Question (From: Arturo PĂ©rez <email@hidden>)

  • Prev by Date: Re: OT - OSX Server Question
  • Next by Date: Re: OT - OSX Server Question
  • Previous by thread: Re: OT - OSX Server Question
  • Next by thread: Re: OT - OSX Server Question
  • Index(es):
    • Date
    • Thread