Archive for October, 2008
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.
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
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.