Unix administration - Re: problems with my Apache installation

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > February 2004 > Re: problems with my Apache installation





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: problems with my Apache installation
thumb_42@yahoo.com

2004-02-08, 9:34 pm

In comp.unix.admin Pedro <pedro.fabre.NO-SPAM@gen.gu.se> wrote:

> My question is how can install the version I want to in the place I want
> to and no in another place.


Apple really makes a mess of things when it comes to anything remotely
resembling a "normal" unix machine. :-/

I suspect what happened is Apple installed apache "for you" and set it up so
that it would start. Poke around looking for a "Startup" type of directory
and clobber it?

It probably did similiar things to your mysql.

You might have to (re)configure apache.

Jamie
Dave Hinz

2004-02-08, 11:34 pm

On Mon, 09 Feb 2004 11:09:33 GMT, thumb_42@yahoo.com <thumb_42@yahoo.com> wrote:
> In comp.unix.admin Pedro <pedro.fabre.NO-SPAM@gen.gu.se> wrote:
>
>
> Apple really makes a mess of things when it comes to anything remotely
> resembling a "normal" unix machine. :-/


If you're unfamiliar with FreeBSD, that might be true for your definition
of "normal". But there's nothing to stop anyone from using a different
prefix for an installation of any tool they want, of course.

> I suspect what happened is Apple installed apache "for you" and set it up so
> that it would start. Poke around looking for a "Startup" type of directory
> and clobber it?


It's in the xinitd files as one would expect.

> It probably did similiar things to your mysql.
> You might have to (re)configure apache.


Or, just roll your own & put it where you want it, and tell Apple's
not to start.

Dave Hinz


!David Stoltenberg

2004-02-15, 3:34 am

Dave Hinz wrote:
> On Mon, 09 Feb 2004 11:09:33 GMT, thumb_42@yahoo.com <thumb_42@yahoo.com> wrote:
>
>
>
> Or, just roll your own & put it where you want it, and tell Apple's
> not to start.


Hi:

I'd recommend the latter. Use the "Sharing" GUI and turn off web if
it's turned on, or edit /etc/hostconfig and change WEBSERVER to =NO= . .
.. if necessary.

Then compile Apache (I'm assuming you want Apache 2), into the default
/usr/local/apache2 (you need the developer tools to be installed,
otherwise just follow the httpd.apache.org how-to). That'll give you
the apxs stuff you need to make compiling most any of the mod_whatever
plugins a breeze.

DON'T screw with Apple's stuff, just work around it using /usr/local,
just as you would for YDL or RedHat or Mandrake or whoever.

I take the final step of moving /usr/local/apache2 to /Library/Apache2
and then symlinking /Library/Apache2 back to /usr/local/apache2, which
makes the files invovled "visible" and stowed away in an OSX-ish manner.

Finally, you can take something like "Broadband Optimizer" as a template
app/directory (freeware, worth checking out), copy it as "Apache2",
modify the shell script . . . and place it in StartupItems, if you want
an Apple GUI-ish implementation.

My two cents.

D.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com