Help! I've been using Opeoffice for years on my MacBook Pro. I've just updated my Os to Catalina (10.15.2) and now none of my hundreds of Openoffice files will open. The logo jumps in the dock, and when I tab through the apps it shows it as open, but I get no menus and the file I've double-clicked refuses to open in a window. I'm currently writing my 6th novel and I'm 15,000 word in, and now I can't open the files. Plus I use the spreadsheets to create invoices, and they too aren't now accessible. I'm really stressed!

Here’s where to find httpd.conf on Mac. This is the httpd.conf location on Mac OS X 10.6 Snow Leopard and Mac OS X 10.7 Lion. This article also shows how to make the httpd.conf directory visible in the Mac Finder.

Apache Macos Catalina

If in macOS Catalina, using the default install of Apache, if I run sudo apachectl start followed by pgrep httpd it will show multiple occurrences of httpd, sometimes just two and other times four occurrences. I actually never noticed it because on my system httpd doesn't show up in Activity Monitor and why I used pgrep httpd from Terminal. Option 1: Drag Apache icon to the Trash. Open up the Finder, click Applications on the left side, and then select Apache. Drag Apache to the Trash (or right click on it and then select Move to Trash option). Right click the Trash icon and select Empty Trash option to start the uninstall. This drag-to-delete method works in all versions of Mac OS X.

What is Httpd.conf?

Update Apache Macos Catalina

Httpd.conf is the Apache web server’s main configuration file. Mac OSX ships with Apache installed. See Apache’s configuration docs for how to configure Apache.

Httpd.conf Location on Mac

On Mac httpd.conf location is in the directory /etc/apache2. You can access this folder through the Mac Finder or through the Mac Terminal.

Checked on OS X 10.7, 10.6.8, 10.6.7.

Httpd.conf Location in Mac Finder

You won’t normally see even the /etc/apache2 directory showing up in the Mac Finder. I tried looking in MacintoshHD, but /etc doesn’t show up.)

Apache

I found a tip at Codejacked on how to open hidden files in the Finder.

Here’s how to view httpd.conf’s directory in the Mac’s finder:

  1. In the Finder, click the Go menu, and choose Go to Folder…
  2. Type in /etc/apache2.
  3. Click Go.

The Finder will show the apache2 folder, and in it, you’ll see httpd.conf.

Httpd.conf Location in Mac Terminal

You can also get to the httpd.conf file through a terminal session, which is okay if your comfortable in the Unix shell (bash):

Can’t Save Httpd.conf?

Httpd.conf is protected by OSX from being edited. If you open it with the TextEdit application for example, you won’t be able to save it. For details to bypass this security, see How to Easily Edit Httpd.conf on Mac.

Restart Apache to Apply Configuration Changes

Apache Macos Catalina

Don’t forget you will need to restart Apache for your configuration changes in httpd.conf to be applied. To restart Apache on Mac:

Disable Apache Mac Catalina

  1. Go to the Apple menu and choose System Preferences.
  2. Click on Sharing.
  3. Untick Web Sharing.
  4. Tick Web Sharing.