Edit /etc/apache2/httpd.conf Uncomment the following lines: Uncomment the following in /private/etc/apache2/extra/httpd-userdir.conf : Create the file /private/etc/apache2/users/yourUserName.conf if it doesn’t exist: Add the following in this file: For running PHP, uncomment the following line in /etc/apache2/httpd.conf . The version of PHP in the module name may vary as per the currently installed version (7 in this […]
This is a collection of some commands to diagnose the DNS resolution problems, from OSX in a local network having linux and mac machines. On linux, edit: /etc/avahi/avahi-daemon.conf to set ‘use-ipv6’ to ‘no’, so avahi resolves the hostname to ipv4 address. Not sure if this affects the DNS resolution from a mac, but I set […]
Dash is a handy reference of the documentation of several APIs / languages. Works offline.