Category: Apache (web server)
Anything related to the Apache web server
Apache 2.4 and authentication from specific domain names and IP addresses only
I upgraded Apache from 2.2.31 to 2.4.18 on one of my servers. For one particular directory and its subtree, I needed authentication from specific domain names and IP addresses only. If the request doesn’t come from one of the whitelisted domain names or IP addresses, then Apache shouldn’t bother asking the user for authentication, but […]
Read More → Apache 2.4 and authentication from specific domain names and IP addresses onlyUpgrading lang/php5
to lang/php56
The 20150220 entry in /usr/ports/UPDATING contains no instructions for upgrading lang/php5 to lang/php56, at least not for us compiling our own ports. I learned the hard way using portupgrade what needs to be done. I have summarised my steps into the script below. Use the script as a guide, and if you do run my […]
Read More → Upgradinglang/php5
to lang/php56
No need the check the syntax of Apache’s configuration files more than once
It’s meaningless to check the syntax of Apache’s configuration files more than once during the same invocation of the startup script for Apache 2.2.x on FreeBSD, when the specified action is, say restart or graceful. Here’s a small patch.
Read More → No need the check the syntax of Apache’s configuration files more than once