OSX 10.10 Yosemite + Apache 2.4 + AH01630: client denied by server configuration

แก้ไขค่า httpd.conf or httpd-vhosts.conf ด้วย “Require all denied”

<Directory />
AllowOverride none
Require all denied
</Directory>

<Directory /Volumes/Data/Data/USER/Sites/>
AllowOverride none
Require all granted
</Directory>

ที่มา: http://httpd.apache.org/docs/2.4/upgrading.html

Remove Duplicates from the “Open With” Right-Click Menu in Mac OS X

Fix the Open WIth menu and remove duplicate app entries

The “Open With” menu appears when any file in the Mac Finder is right-clicked (or control-clicked), and it is intended to provide a list of alternate apps that selected file can be opened with other than what is currently set as the default application.”

http://osxdaily.com/2013/01/22/fix-open-with-menu-mac-os-x/

วิธีการติดตั้ง PHP 5.4 ให้กับ Mac OS X Lion

สามารถดูได้จากที่นี่ http://php-osx.liip.ch/

ติดตั้ง brew ได้จาก http://mxcl.github.com/homebrew/

และสามารถอ่านวิธีการอื่นๆ เพิ่มเติมได้ที่นี่ http://jason.pureconcepts.net/2012/10/install-apache-php-mysql-mac-os-x/

วิธีทำให้ mod_rewrite ทำงานบน Mac OS X Lion

หากใช้งาน Apache ที่มากับ Mac OS X แล้วเกิดปัญหา mod_rewrite ไม่ทำงาน  ให้แก้ไขที่ไฟล์ /etc/apache2/users/username.conf  (แทนที่ username ด้วย username จริงๆ ที่ใช้งานในระบบ)  ให้แก้ไข ที่ AllowOverride None ให้เป็น AllowOverride All ดังตัวอย่างข้างล่าง

<Directory "/Users/username/Sites/">
     Options Indexes MultiViews
     AllowOverride All
     Order allow,deny
     Allow from All
</Directory>

อีกวิธีการหนึ่งสามารถดูได้ที่นี่ http://akrabat.com/php/setting-up-php-mysql-on-os-x-10-7-lion/