Re: Development mode URL format question
Re: Development mode URL format question
- Subject: Re: Development mode URL format question
- From: Vincent Coetzee <email@hidden>
- Date: Fri, 3 Dec 2004 09:26:16 +0200
Dear List
Sorry I obviously did not make myself clear on this. I am developing
this on a Mac under Mac OS X, this problem that occurs, occurs on my
Mac, the fact that I am on a windows network is what causes the
aspect.local problem, since Mac OS X, allows you to retrieve a machines
IP by using machine.local if you are on a Mac OS X network.
Vincent
On Dec 2, 2004, at 10:51 PM, Ray Ackland wrote:
Vincent,
When you say that "http://localhost:etc etc" works, you mean the
windows machines can work with the app? This would surprise me (but I
may have learnt something new).
The problem - as you already suspect - is that the PCs get given a URL
with a domain name. They then turn to their DNS for the ip address,
but have no luck as the DNS has no listing for your machine.
What you can do to get it to work is to add a hosts file on their
machine (the OS checks this first before going to the external DNS).
Unfortunately I can't remember where Windows stores this file. Can
someone else fill in this part for me?
Hope I have added some hope.
r
On 03/12/2004, at 1:05, Vincent Coetzee wrote:
I am currently developing a web objects app. At work most of the
machines are Windows machines, and I am forced to retrieve my IP
address (which is static) via DHCP. Mostly I am unaware of the fact
that I am on a "windows networks". My machines name is "aspect". When
I run my WebObjects app, the URL that XCode / WebObjects generates
when it opens the app in Safari is of the form "http://aspect.local:
etc etc". The lookup of aspect.local fails, presumably because the
DHCP server (or whatever is acting as the local DNS) does not know
what aspect.local means. This same URL works perfectly when I am at
home on my Mac only network. If I change the URL to be
"http://localhost:etc etc", then everything works. What do I change
where to get this default to change to localhost, is it a Mac OS X
setting or a WebObjects setting.
___________________________________________________________________________________________________
The views expressed in this email are, unless otherwise stated, those of the author and not those
of the FirstRand Banking Group an Authorised Financial Service Provider or its management.
The information in this e-mail is confidential and is intended solely for the addressee.
Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or
omitted in reliance on this, is prohibited and may be unlawful.
Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data
transmitted electronically and to preserve the confidentiality thereof, no liability or
responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted
or does not reach its intended destination.
________________________________
_______________________________________________
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