Re: Development mode URL format question
Re: Development mode URL format question
- Subject: Re: Development mode URL format question
- From: Darich Runyan/OMNI INFOSEC LTD HQ <email@hidden>
- Date: Mon, 06 Dec 2004 10:08:21 -0500
You can change the host lookup order of lookupd by creating a file called
/etc/lookupd/hosts with the following line:
LookupOrder Cache NI DNS FF DS
This will set it to use the local cache first, NetInfo next, followed by
DNS, flat files (/etc/hosts), Directory Services. Just reorganize the
lookup types as needed, for instance, if you want DNS before NI then just
swap their postions -> LookupOrder Cache DNS NI FF DS.
Here is a simple way of setting it up.
sudo mkdir /etc/lookupd
sudo echo LookupOrder Cache NI DNS FF DS > /etc/lookupd/hosts
sudo kill -1 `cat /var/run/lookupd.pid`
Darich
> From: Brian Costlow <email@hidden>
> Date: Fri, 3 Dec 2004 15:56:32 -0500
> To: WebObjects List <email@hidden>
> Subject: Re: Development mode URL format question
>
> Some versions of OS X are not set up to consult /etc/hosts out of the box.
>
>> From terminal, run
>
> lookupd -configuration
>
> search the result for a line that starts with "LookupOrder" and on that
> line there must be an "FF".
> If not, hosts is not consulted for name resolution.
>
> I can't find my crib notes on the solution, but try googling for OS X +
> hosts + lookupd if you need to fix this.
>
> Cheers,
>
> Brian
>
>
> Brian Costlow | Member of the Technical Staff | VERTIS
> 12 Corporate Dr. | North Haven, CT 06473
> P 203.985.3704 | C 203.500.8838
> email@hidden | www.vertisinc.com
>
>
> Brian Costlow | Member of the Technical Staff | VERTIS
> 12 Corporate Dr. | North Haven, CT 06473
> P 203.985.3704 | C 203.500.8838
> email@hidden | www.vertisinc.com
>
> Vertis is the premier provider of targeted advertising, media, and
> marketing services that drive consumers to marketers more effectively.
>
> webobjects-dev-bounces+bcostlow=email@hidden wrote on
> 12/03/2004 03:14:21 AM:
>
>> Try rebooting, also check the permissions and ownership. If you're
>> using the finder's Get Info, then You can Read only, Owner is system
>> with R & W access, Group is wheel with Read only, and Others can Read
>> Only.
>>
>> If you want the unix stuff, I'll look it up tomorrow, unless someone
>> else replies.
>>
>> A simple test to see if it's working is to type "aspect" into your
>> browser's URL field. Your machine's web page will come up.
>>
>> Take care,
>> Nathan
>>
>> On Dec 3, 2004, at 3:03 AM, Vincent Coetzee wrote:
>>
>>> 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
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
m
>
> This email sent to email@hidden
_______________________________________________
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