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 10:03:31 +0200
Hi Guys
I have done what was suggested (i.e. added a line to /etc/hosts)
without success. Does one have to reboot perhaps ? I have added the
line and tested and it makes no difference ?
Thanks
Vincent
On Dec 3, 2004, at 10:02 AM, Nathan Dumar wrote:
If you really know what you're doing with NetInfo Manager, do what you
think should be done. I don't touch it unless I absolutely have to.
It's one of those power tools that can do serious damage if misused.
Much safer and simpler to just add a line to a text file.
On Dec 3, 2004, at 2:45 AM, Vincent Coetzee wrote:
Thanks, as a matter of interest could one use NetInfo Manager to do
this and just add an entry under machines ?
On Dec 3, 2004, at 9:42 AM, Nathan Dumar wrote:
Vincent,
The same trick they describe works on Mac OS X, too. On Mac, the
hosts file is in /private/etc (which is not visible in the finder
unless you choose Go -> Go to Folder...)
Just add your IP, then the name you use, aspect. For example, if
your machine is 192.168.0.81, then the entry would look like:
192.168.0.81 aspect
Take care,
Nathan
On Dec 3, 2004, at 2:26 AM, Vincent Coetzee wrote:
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:
email@hidden
This email sent to email@hidden
______________________________________________________________________
_____________________________
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 oromitted 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 datatransmitted electronically and to
preserve the confidentiality thereof, no liability orresponsibility
whatsoever is accepted if information or data is, for whatever
reason, corruptedor does not reach its intended destination.
________________________________
___________________________________________________________________________________________________
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