On Wed, 20 Feb 2002 [EMAIL PROTECTED] wrote:

> Please can you tell me how to connect to my local web server on OSX fron
> a client running os9. The apache web server defaults to 127.0.0.1 but my
> static ip is 10.0.1.4 (I use airport). Do I need to change the apache
> conf file?

Typically. The 127.0.0.1 is kind of a red herring, as that's the typical
address used for 'localhost' on any computer (any OS) talking TCP/IP.
Trying to get the OS9 box to reach 127.0.0.1 will fail unless you happen
to have OS9's web server turned on :). 

As Ellem noted, it's worth checking that Apache is running in the first
place -- see if the OSX box can get to any of 127.0.0.1, localhost, or
10.0.1.4. They should all work, but if you get an error like "host not
reachable" then the server needs to be started. If you don't have an httpd
process running (actually, half a dozen or so processes usually), the
easiest way to launch it is via System Preferences.app (or, more in line
with other platforms, from the command "sudo apachectl start"). 

By default, OSX's should have this statement in /etc/httpd/httpd.conf:

    #BindAddress *

My sample of that file has this on line 174. I *think* you're okay either
way here -- commented out like this you aren't binding to any particular
IP address, while uncommenting it will promiscuously bind you to all IP
addresses. If you know you're going to statically have 10.0.1.4 though,
you should be able to change that line to this: 

    BindAddress 10.0.1.4

This should guarantee that your OSX box will be listening on that address.
 
> I want to use a browser from 1 or more clients using OS9 to see the
> apache web server so that I can run the mysql data manager which is a
> front end written in perl to a backend mysql database (worth a look at
> edatanew.com). 
 
Yeah, just make sure that the Apache & MySQL processes are running on the
server machine[s], and for the most part the default Apache (& MySQL?)
settings should be able to get you going...
 
 


-- 
Chris Devers                           [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/

"Okay, Gene... so, -1 x -1 should equal what?" "A South American!"    
[....] "no human can understand the Timecube" and Gene responded
 without missing a beat "Yeah.  I'm not human."

Reply via email to