Gossamer Forum
Home : General : Internet Technologies :

MacOSX: G4 Server Experts

Quote Reply
MacOSX: G4 Server Experts
Hi there,

For those G4 MacOSX experts, I am wondering if you may have some useful information or advice about the following problem:

One of my friends has a G4 OSX web server running Apache. He can no longer access his website either from the terminal or from the Internet. I did restart Apache a number of times from the Terminal Window and System Preferences, and still cannot access the website.

The terminal/server can access the Internet via web browser and can send emails. But cannot access websites hosted on it (nor can the website be accessed from the Internet). When my friend types in the URL (that is registered as a domain in TCP/IP settings) into the browser's location blank, the browser hangs, then shows a 501 Not Implemented error.

The interesting thing is that I could not locate the httpd.conf file in the hard drive (which is probably the problem), but if you have a quick fix or know of a possible solution, I'd be greatly, so I can pass along the suggestion to my friend. I'd hate to have my friend have to re-install Apache.

The attributing factor to this problem was that someone was using the server as a workstation and simply turned off the computer, rather than gracefully shutting it down.

NOTE: I did spend a couple hours searching pages via Google and reading old posts from various Mac network related listservs and Yahoo! Groups. And the only answer I found was "restart Apache", which I did.
========================================
Buh Bye!

Cheers,
Me

Last edited by:

Stealth: Jul 16, 2003, 8:48 PM
Quote Reply
Re: [Stealth] MacOSX: G4 Server Experts In reply to
Hi Stealth

Taking a quick look on my ibook running OS X, the default installation of Apache should put your configuration files here:

Code:
spoon% locate httpd.conf
/private/etc/httpd/httpd.conf
/private/etc/httpd/httpd.conf.bak
/private/etc/httpd/httpd.conf.default
spoon%

Although, I haven't got Apache started on my machine, or configured, it looks like it's bundled there by default.

The only other thing I can think of is his firewall settings, maybe? Have you tried Applications -> Utilits -> NetInfo Manager. Or Maybe have a look with Network Tools to see if you can do some local diagnostics. Bringing up a term window and doing a HEAD localhost comes to mind -- at least that should tell you if Apache is running locally, right?

- wil
Quote Reply
Re: [Wil] MacOSX: G4 Server Experts In reply to
Thanks, Wil. I was using Sherlock to locate the httpd.conf file, should've used the terminal window and locate command instead.

Firewall settings is not something I looked at, but will provide that advice to my friend. I did run the local diagnostic in the Network settings and no errors were returned.

Thanks for the advice.
========================================
Buh Bye!

Cheers,
Me