local web server on catalina
My local web server that worked under Mojave is not working any longer on Catalina. What has changed?
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
My local web server that worked under Mojave is not working any longer on Catalina. What has changed?
dingoe wrote:
Did a SymLink to an external drive (usb-stick) work for you? On it just a bunch of html-files. No Wordpress database.
symlinks to local folders work fine with me and I can open the html-files on the usb-stick also with Safari as file:// when 'Disable local file restrictions' is checked.
Not at first. I had to give the /usr/sbin/httpd executable Full Disk Access in System Preferences > Security > Privacy. I don’t know what the security implications of this are. I doubt it is any worse that it was in Mojave. The Mac is being turned into a true consumer-only device. You can still use it for web development if you know right where to beat it with the rubber hose. But macOS hasn’t been appropriate as a true server for several years. It’s just a different world now.
dingoe wrote:
Did a SymLink to an external drive (usb-stick) work for you? On it just a bunch of html-files. No Wordpress database.
symlinks to local folders work fine with me and I can open the html-files on the usb-stick also with Safari as file:// when 'Disable local file restrictions' is checked.
Not at first. I had to give the /usr/sbin/httpd executable Full Disk Access in System Preferences > Security > Privacy. I don’t know what the security implications of this are. I doubt it is any worse that it was in Mojave. The Mac is being turned into a true consumer-only device. You can still use it for web development if you know right where to beat it with the rubber hose. But macOS hasn’t been appropriate as a true server for several years. It’s just a different world now.
Yes, I have done that and checked it against your instructions. I seems the same as for Mojave. The difference is that under Catalina I don't get the FollowSymLinks working. I have a Symlink to a USB-stick on which a backup of a Wordpress weblog. It always worked under all versions up to Catalina where I get a '403 Forbidden' error with all my browsers. Even with Safari where 'Disable local file restrictions' is checked. I use the ssl_module by the way.
Did a SymLink to an external drive (usb-stick) work for you? On it just a bunch of html-files. No Wordpress database.
symlinks to local folders work fine with me and I can open the html-files on the usb-stick also with Safari as file:// when 'Disable local file restrictions' is checked.
You will probably need to set it up again. Here are my instructions: Setting up a local web server on macOS 10… - Apple Community
Probably the Apache version and its attendent files may have replaced your Mojave settings, or how they are interpreted now.
I’ll look into that.
Sorry, but symlinks seem to work fine. If you have a Wordpress blog and SSL, there is probably a lot more going on there.
OK, that did the trick.
local web server on catalina