How to reinstall or restore Apache httpd in OS X? I want to do that because I deleted httpd.conf file (both /etc/apache2/httpd.conf
and the original at /etc/apache2/original/httpd.conf
).
MacOS – Reinstall/restore Apache httpd in OS X
apachemacos
Related Question
- Upload httpd.conf File for macOS
- MacOS – Apache on MacOS Sierra: AH00557: httpd: apr_sockaddr_info_get() failed for Macbook-Pro.local AH00558: httpd: Could not reliably determine…
- MacOS High Sierra Apache – Fix Localhost Fails and Apache Syntax Errors After Install
- Homebrew – How to Remove Apache2
- Big Sur Updates Reset Apache Files
Best Answer
If you've just removed the httpd.conf, here is the contents my
/etc/apache2/original/httpd.conf
(OS X 10.9.1):Permissions:
…although it might be worth doing a permissions repair in Disk Utility.