Apache 2.4.28 update today? (was:Re: Apache 2.4 any time soon?)

Bill Christensen billc_lists at greenbuilder.com
Sat Oct 28 20:12:11 UTC 2017


Correction on the earlier answer below by Marius regarding Certbot certs
and IP addresses:  It appears that Certbot certificates are NOT tied to the
IP address.  The error I was getting was because I wasn't using sudo on the
apachectl -t command (duh!), and the LetsEncrypt files are in private
folders.  Simply using sudo showed the syntax as OK and the SSL certs work
fine.


New question on modules:  I admit to having no idea what some of these
modules do and whether to load them or not.  That said, it appears that the
rewrite function isn't working on my Apache 2.4, despite having mod_rewrite
loaded.  Specifically, the modified permalinks structure in WordPress sites
is broken, but it probably affects other sites/functions as well.

I've turned some of the modules which are off by default to 'on' to return
other missing functionality (see the first list below),  but I'm unclear on
what else might be missing, especially with regard to the rewrite
function.

Thanks in advance for any pointers.


Loaded Modules in my 2.4.x test instance:

 core_module (static)

 so_module (static)

 http_module (static)

 mpm_prefork_module (static)

 authn_file_module (shared)

 authn_dbm_module (shared)

 authn_anon_module (shared)

 authn_dbd_module (shared)

 authn_socache_module (shared)

 authn_core_module (shared)

 authz_host_module (shared)

 authz_groupfile_module (shared)

 authz_user_module (shared)

 authz_owner_module (shared)

 authz_core_module (shared)

 auth_basic_module (shared)

 auth_digest_module (shared)

 file_cache_module (shared)

 cache_module (shared)

 cache_disk_module (shared)

 socache_shmcb_module (shared)

 include_module (shared)

 filter_module (shared)

 mime_module (shared)

 log_config_module (shared)

 expires_module (shared)

 headers_module (shared)

 setenvif_module (shared)

 version_module (shared)

 ssl_module (shared)

 unixd_module (shared)

 vhost_alias_module (shared)

 dir_module (shared)

 alias_module (shared)

 rewrite_module (shared)

 php7_module (shared)

 access_compat_module (shared)

 log_forensic_module (shared)

 env_module (shared)



 The modules loaded by 2.4.x installation by default are:



 authn_file_module lib/apache2/modules/mod_authn_file.so

 authn_core_module lib/apache2/modules/mod_authn_core.so

 authz_host_module lib/apache2/modules/mod_authz_host.so

 authz_groupfile_module lib/apache2/modules/mod_authz_groupfile.so

 authz_user_module lib/apache2/modules/mod_authz_user.so

 authz_core_module lib/apache2/modules/mod_authz_core.so

 access_compat_module lib/apache2/modules/mod_access_compat.so

 auth_basic_module lib/apache2/modules/mod_auth_basic.so

 reqtimeout_module lib/apache2/modules/mod_reqtimeout.so

 filter_module lib/apache2/modules/mod_filter.so

 mime_module lib/apache2/modules/mod_mime.so

 log_config_module lib/apache2/modules/mod_log_config.so

 env_module lib/apache2/modules/mod_env.so

 headers_module lib/apache2/modules/mod_headers.so

 setenvif_module lib/apache2/modules/mod_setenvif.so

 version_module lib/apache2/modules/mod_version.so

 slotmem_shm_module lib/apache2/modules/mod_slotmem_shm.so

 unixd_module lib/apache2/modules/mod_unixd.so

 status_module lib/apache2/modules/mod_status.so

 autoindex_module lib/apache2/modules/mod_autoindex.so

 dir_module lib/apache2/modules/mod_dir.so

 alias_module lib/apache2/modules/mod_alias.so



 Other available modules in 2.4.x are:

# authn_dbm_module lib/apache2/modules/mod_authn_dbm.so

# authn_anon_module lib/apache2/modules/mod_authn_anon.so

# authn_dbd_module lib/apache2/modules/mod_authn_dbd.so

# authn_socache_module lib/apache2/modules/mod_authn_socache.so

# authz_dbm_module lib/apache2/modules/mod_authz_dbm.so

# authz_owner_module lib/apache2/modules/mod_authz_owner.so

# authz_dbd_module lib/apache2/modules/mod_authz_dbd.so

# auth_form_module lib/apache2/modules/mod_auth_form.so

# auth_digest_module lib/apache2/modules/mod_auth_digest.so

# allowmethods_module lib/apache2/modules/mod_allowmethods.so

# file_cache_module lib/apache2/modules/mod_file_cache.so

# cache_module lib/apache2/modules/mod_cache.so

# cache_disk_module lib/apache2/modules/mod_cache_disk.so

# cache_socache_module lib/apache2/modules/mod_cache_socache.so

# socache_shmcb_module lib/apache2/modules/mod_socache_shmcb.so

# socache_dbm_module lib/apache2/modules/mod_socache_dbm.so

# socache_memcache_module lib/apache2/modules/mod_socache_memcache.so

# watchdog_module lib/apache2/modules/mod_watchdog.so

# macro_module lib/apache2/modules/mod_macro.so

# dbd_module lib/apache2/modules/mod_dbd.so

# dumpio_module lib/apache2/modules/mod_dumpio.so

# echo_module lib/apache2/modules/mod_echo.so

# buffer_module lib/apache2/modules/mod_buffer.so

# data_module lib/apache2/modules/mod_data.so

# ratelimit_module lib/apache2/modules/mod_ratelimit.so

# ext_filter_module lib/apache2/modules/mod_ext_filter.so

# request_module lib/apache2/modules/mod_request.so

# include_module lib/apache2/modules/mod_include.so

# reflector_module lib/apache2/modules/mod_reflector.so

# substitute_module lib/apache2/modules/mod_substitute.so

# sed_module lib/apache2/modules/mod_sed.so

# charset_lite_module lib/apache2/modules/mod_charset_lite.so

# deflate_module lib/apache2/modules/mod_deflate.so

# xml2enc_module lib/apache2/modules/mod_xml2enc.so

# proxy_html_module lib/apache2/modules/mod_proxy_html.so

# log_debug_module lib/apache2/modules/mod_log_debug.so

# log_forensic_module lib/apache2/modules/mod_log_forensic.so

# logio_module lib/apache2/modules/mod_logio.so

# mime_magic_module lib/apache2/modules/mod_mime_magic.so

# expires_module lib/apache2/modules/mod_expires.so

# usertrack_module lib/apache2/modules/mod_usertrack.so

# unique_id_module lib/apache2/modules/mod_unique_id.so

# session_dbd_module lib/apache2/modules/mod_session_dbd.so

# remoteip_module lib/apache2/modules/mod_remoteip.so

# proxy_module lib/apache2/modules/mod_proxy.so

# proxy_connect_module lib/apache2/modules/mod_proxy_connect.so

# proxy_ftp_module lib/apache2/modules/mod_proxy_ftp.so

# proxy_http_module lib/apache2/modules/mod_proxy_http.so

# proxy_fcgi_module lib/apache2/modules/mod_proxy_fcgi.so

# proxy_scgi_module lib/apache2/modules/mod_proxy_scgi.so

# proxy_fdpass_module lib/apache2/modules/mod_proxy_fdpass.so

# proxy_wstunnel_module lib/apache2/modules/mod_proxy_wstunnel.so

# proxy_ajp_module lib/apache2/modules/mod_proxy_ajp.so

# proxy_balancer_module lib/apache2/modules/mod_proxy_balancer.so

# proxy_express_module lib/apache2/modules/mod_proxy_express.so

# proxy_hcheck_module lib/apache2/modules/mod_proxy_hcheck.so

# session_module lib/apache2/modules/mod_session.so

# session_cookie_module lib/apache2/modules/mod_session_cookie.so

# slotmem_plain_module lib/apache2/modules/mod_slotmem_plain.so

# ssl_module lib/apache2/modules/mod_ssl.so

# dialup_module lib/apache2/modules/mod_dialup.so

# lbmethod_byrequests_module lib/apache2/modules/mod_lbmethod_byrequests.so

# lbmethod_bytraffic_module lib/apache2/modules/mod_lbmethod_bytraffic.so

# lbmethod_bybusyness_module lib/apache2/modules/mod_lbmethod_bybusyness.so

# lbmethod_heartbeat_module lib/apache2/modules/mod_lbmethod_heartbeat.so

# heartbeat_module lib/apache2/modules/mod_heartbeat.so

# heartmonitor_module lib/apache2/modules/mod_heartmonitor.so

# dav_module lib/apache2/modules/mod_dav.so

# asis_module lib/apache2/modules/mod_asis.so

# info_module lib/apache2/modules/mod_info.so

# cgi_module lib/apache2/modules/mod_cgi.so

# dav_fs_module lib/apache2/modules/mod_dav_fs.so

# dav_lock_module lib/apache2/modules/mod_dav_lock.so

# vhost_alias_module lib/apache2/modules/mod_vhost_alias.so

# negotiation_module lib/apache2/modules/mod_negotiation.so

# actions_module lib/apache2/modules/mod_actions.so

# speling_module lib/apache2/modules/mod_speling.so

# userdir_module lib/apache2/modules/mod_userdir.so




> On Thu, Oct 26, 2017 at 7:25 PM, Bill Christensen <
> billc_lists at greenbuilder.com> wrote:
>
>> On 10/26/17 7:06 PM, Marius Schamschula wrote:
>>
>> Bill,
>>
>> On Oct 26, 2017, at 6:16 PM, Bill Christensen <
>> billc_lists at greenbuilder.com> wrote:
>>
>> Got a chance to work on implementing Apache 2.4 again today using a clone
>> of production on a test machine.
>>
>> http is working fine.
>>
>> But checking the config, I'm getting:
>>
>> SSLCertificateFile: file '/opt/local/etc/letsencrypt/live/<domain.name
>> >/fullchain.pem' does not exist or is empty
>>
>> Except that it DOES exist, and it ISN'T empty.
>>
>> Any ideas?  Modules not loaded? (I've tried toggling all of them on and
>> off, no joy).  It wouldn't have to do with this being a different IP
>> address than the one set when we created the certs, would it?
>>
>> Yes. Certbot certificates are tied to the IP address.
>>
>>
>> Ok, thanks.  I'll generate a temporary one on a dev domain for use in my
>> testing then, and cross my fingers that the real ones will work properly
>> when I take it live.  (and be ready to roll back if they don't!)
>>
>>
>>
>> --
>> Bill Christensenhttp://SustainableSources.comhttp://LinkedIn.com/in/billc108
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20171028/075b97bf/attachment.html>


More information about the macports-users mailing list