Macguru

More software!

Archive for October, 2008

Enabling home directory support on 10.5 Apache

without comments

So, I had to rebuild my laptop the other day and I notice that 10.5.5 Apache does not support ~/home as an option. So, after some research (couldn’t remember how I did this before) I found the following website.

http://www.procata.com/blog/archives/2007/10/28/working-with-php-5-in-mac-os-x-105/

Basically, you have to tell apache about the home directory, since Apple disables that option.

Add a file called user.conf to /etc/apache/users/ with the following information: Of course replace “user” with the name of the actual home user you want.

 "/Users/user/Sites">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
>

Restart the Apache process: sudo apachectl restart

All good!

Written by rrhpph

October 17th, 2008 at 10:11 am

Posted in Software

Fun times

without comments

So, this past weekend I have spent countless hours trying to get our college Mac labs backup and running due to an update that I pushed out on Friday.  Of course, most of you are probably like, “Didn’t you test it”.  Of course I did, the one thing I did not test was a double restart of the system.  After debugging and debugging we could not figure out what the update did that caused the stations to not boot (Basically grey apple logo with spinning wheel).  So, only solution we had at the time was to reimage everything.  Fun… not so much.

Apple’s wonderful debugging and verbose modes were useless, especially since the machines would only boot as far as Single User mode.

We tried to 777 the whole drive to see if that would fix the problem, no go.  We knew it was permissions related, but what?

Thanks to FileWave, the problem was found.  Leopard requires the following permission on /System/Library/LaunchDaemons, 755.  In the FileSet I pushed, the permissions where set to 775.  This is where you start scratching your head. Why should that make a difference……?

Anyways, this is a good thing to know.  Oh, Apple’s own Repair Permissions utility fixes permissions inside this folder, but not the folder itself.  WHY!!  Thanks to Jay and the whole CIAS crew with helping to get our area back up and running.

Written by rrhpph

October 16th, 2008 at 9:29 am