• 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: Dumb Deployment Question #6,467
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dumb Deployment Question #6,467


  • Subject: Re: Dumb Deployment Question #6,467
  • From: Andrew Kinnie <email@hidden>
  • Date: Sun, 20 Feb 2011 16:48:20 -0500

Well, I was under the impression that this was done in the webobjects module.

I didn't see this in the wiki.  Presumably I missed it.

How does one create a re-write rule in apache to send the requests to the wo app?

On Feb 20, 2011, at 4:33 PM, David LeBer wrote:

Well, Apache is correct, it does work.

Or rather, you are seeing the default behaviour. If you want http:///www.mydomain.com to automatically redirect to http://www.mydomain.com/cgi-bin/WebObjects/MyApp.woa you will need to handle that explicitly through an apache re-write rule or a js redirect in the http:///www.mydomain.com/ index page.

On 2011-02-20, at 4:21 PM, Andrew R. Kinnie wrote:

OK, so I FINALLY was able to get my existing wo app installed and running successfully on my new server (my last problem was an errant install of MySQL), but now when someone goes to the domain, they get to what appears to be a default apache page which says nothing other than:

"It Works!"

and not my actual wo app. The url (without any custom re-write rules) goes to http:///www.mydomain.com and not to http://www.mydomain.com/cgi-bin/WebObjects/MyApp.woa

If I add the cgi-bin/WebObjects/MyApp.woa at the end it works fine. I'd obviously rather not have the user be forced to do that.

the etc/apache2/httpd.conf file contains:

LoadModule WebObjects_module which points to the correct location of that file. I've looked through the deployment pages of the wiki and don't see any explanation.

Any suggestions? Please be gentle.

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org





_______________________________________________ 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
References: 
 >Dumb Deployment Question #6,467 (From: "Andrew R. Kinnie" <email@hidden>)
 >Re: Dumb Deployment Question #6,467 (From: David LeBer <email@hidden>)

  • Prev by Date: Re: Sorting arrays nightmare
  • Next by Date: Re: Dumb Deployment Question #6,467
  • Previous by thread: Re: Dumb Deployment Question #6,467
  • Next by thread: Re: Dumb Deployment Question #6,467
  • Index(es):
    • Date
    • Thread