« Dr. McNinja | Main | Mail order BBQ »

January 6, 2006

Important safety tip for Apache users

Had the fun of installing Apache on OS/X today, only to discover that it puts files in some rather surprising places (unless you override it):
Use the --with-layout=[F:]ID option to select a particular installation path base-layout. There are many layouts pre-defined in the file config.layout. Except on MacOS(X) configure defaults to the `Apache' classical path layout. You can get an overview of the existing layouts by using the command:

Especially annoyingly, the default layout partially ignores the --prefix argument, and seems to put a bunch of stuff in /Library. Outstanding!

Posted by ekr at January 6, 2006 10:32 PM | Filed under:

Comments

You installed an updated Apache? The OS comes with it already installed.

Posted by: Dave Provine at January 7, 2006 2:54 PM

I wanted to install one that I controlled in my own directory.

Posted by: EKR at January 8, 2006 8:05 AM