Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
deb13:apache [2026/05/18 16:01] Bernard Condraudeb13:apache [2026/05/18 23:00] (current) – [Apache 2.4 and PHP 8.4] Bernard Condrau
Line 1: Line 1:
 ====== Apache 2.4 and PHP 8.4 ====== ====== Apache 2.4 and PHP 8.4 ======
 +add the following:<code>RequestHeader set X-Forwarded-Proto "https" env=HTTPS
 +SetEnvIfNoCase X-Forwarded-Proto https HTTPS=on</code>
 ===== Apache 2.4 Installation ===== ===== Apache 2.4 Installation =====
   - Install apache 2.4<code>$ sudo apt update   - Install apache 2.4<code>$ sudo apt update
Line 9: Line 11:
   - Install and configure [[deb11:certbot|Let's Encrypt Certbot]]   - Install and configure [[deb11:certbot|Let's Encrypt Certbot]]
   - If you are migrating from an old server, follow the [[deb11:migrate#apache_2.4|How to migrate a (web) server]] guide   - If you are migrating from an old server, follow the [[deb11:migrate#apache_2.4|How to migrate a (web) server]] guide
 +  - Run ''apachectl configtest'' before reloading apache
 ===== Apache Settings ===== ===== Apache Settings =====