• 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: Development mode URL format question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Development mode URL format question


  • Subject: Re: Development mode URL format question
  • From: Vincent Coetzee <email@hidden>
  • Date: Fri, 3 Dec 2004 09:45:34 +0200

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 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


  • Follow-Ups:
    • Re: Development mode URL format question
      • From: Art Isbell <email@hidden>
References: 
 >Development mode URL format question (From: Vincent Coetzee <email@hidden>)
 >Re: Development mode URL format question (From: Ray Ackland <email@hidden>)
 >Re: Development mode URL format question (From: Vincent Coetzee <email@hidden>)
 >Re: Development mode URL format question (From: Nathan Dumar <email@hidden>)

  • Prev by Date: Re: Development mode URL format question
  • Next by Date: Re: Development mode URL format question
  • Previous by thread: Re: Development mode URL format question
  • Next by thread: Re: Development mode URL format question
  • Index(es):
    • Date
    • Thread