Re: Dumb Deployment Question #6,467
Re: Dumb Deployment Question #6,467
- Subject: Re: Dumb Deployment Question #6,467
- From: "Andrew R. Kinnie" <email@hidden>
- Date: Sun, 20 Feb 2011 17:25:40 -0500
Never mind. I figured it out.
add the line:
Redirect /index.html http://www.mydomain.com/cgi-bin/WebObjects/myapp.woa
Thanks for the insight.
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