enabling websharing (apache) on OS X 10.2.6

m4trix

Registered
Hi, I have a little problem. I'm doing some webwork for a company running a server on Mac OS X 10.2.6 I however am a PC user, and know virtually nothing about macs. I wanted to set up the apache server, php and mysql (which are supposedly all included in OS X).

So I searched how to do it, I found several things, and almost all of them were similar to this one:
http://www.macdevcenter.com/pub/a/mac/2003/04/04/apache_jaguar_pt1.html

They all say to go into "System Preferences" then click "Sharing" then enable websharing, as they show in the screenshot on that page..
Well, I don't seem to have those services installed. If that's the problem, how do I install them? Here's a screenshot of the sharing screen I see:
sharing.jpg


Nothing about websharing there.
I think apache DOES exist on the server, since I can find apache files on it.. but how do I turn it on?

I was playing around and I went into "Server Settings", logged in, clicked the "Internet" tab, and then clicked "Web" and then clicked "Start Web Service"... I thought that was it, but I guess not, because http://localhost doesn't exist, nor can I connect to the http://[serverip] from that machine or any other.. inclining me to believe that apache is not functioning, either that or there's some other problem

If anyone knows what's goin on, please tell! thanks
 
Do you have administrator priv's? If so, go into terminal (Applications/Utilities/Terminal) and type
Code:
sudo apachectl start
and then it will ask for an administrator password so enter the pw and apache will start right up!
If apachectl isn't there, the chances are that apache has been removed from the machine.
 
yeah, I do have admin privs.

I tried that command, and it displayed this in the console:

Code:
[Tue Aug 19 13:28:22 2003] [warn] module mod_hfs_apple.c is already added, skipping
[Tue Aug 19 13:28:22 2003] [warn] module mod_redirectacgi_apple.c is already added, skipping
[Tue Aug 19 13:28:22 2003] [warn] module mod_WebObjects.c is already added, skipping
/usr/sbin/apachectl start: httpd started

But when I try to access it, I get nothing.. by nothing I mean one of those "cannot find server" errors.

I've tried http://localhost and http://[serverip] locally, and http://[serverip] from another computer.. still not working...
 
If it HAS been removed, or partially removed, and you dont want to reinstall everything, you could try Complete Apache 2, with Complete PHP and Complete MySQL. They are Installer packages to install the latest available versions of apache php & mysql. They come with their own preferencepanes, too. http://www.serverlogistics.com/software.php
 
is it possible that you are working on os x server and that is somehow a different setup? i've never worked with x server but i could imagine that things might be set up different. anyone have any thoughts on that?
 
Back
Top