Hi Chuck,

Yes, am using 5.4.3 and Wonder.  It does look like an Apache issue, I was 
wondering if it could be that.  I'll ask the server guys to have a look and see 
if they can change it.

Thanks all for your comments,

Regards,
David.

On May 4, 2010, at 3:20 AM, Chuck Hill wrote:


On May 3, 2010, at 2:26 PM, David Griffith wrote:

> Hi all,
> 
> When you click certain buttons on my website, I want a secure URL returned.  
> I have set the secure=true binding and the page does get returned using the 
> https:// url instead of http:// but I have a question.  It's not so much of a 
> problem as an inconsistency.

I recall that being a bug in earlier 5.4 versions, is it not fixed in 5.4.3?  
Are you using Wonder?  I think that was fixed somewhere.


> If you go to the website http://www.mydomain.com and click around the 
> non-secure area, it will show the URL always as http://www.mydomain.com.  As 
> soon as it goes to a secure URL, it displays as https://mydomain.com (without 
> the www in front).
> 
> Does anyone know where this is generated from?

I'd guess from the virtual host in Apache.  Possibly with an incorrect DNS 
record somewhere.


> It is clearly setting the value from somewhere.  Perhaps it has something to 
> do with my adaptor URL?  In the JavaMonitor page is says to specify the full 
> URL to the adaptor but I have always just used /app/WebObjects as I use the 
> same adaptor for various apps running on different domains.  Would it be 
> related to that?

I'd doubt it.


> I would just like it to come back with https://www.mydomain.com instead as 
> once it changes to the URL with the www, it stays that way.
> 
> Any insight would be appreciated :)


Check the Apache config, then check the headers coming into your application.


Chuck


-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to