Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT - OSX Server Question



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.


References: 
 >OT - OSX Server Question (From: James Cicenia <email@hidden>)
 >Re: OT - OSX Server Question (From: Arturo PĂ©rez <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.