apache.php
- Pfad:
public/static-docs/online/module/apache.php - Namespace: -
- Zeilen: 20 | Größe: 711 Bytes
- Geändert: 2025-12-19 23:56:40 | Gescannt: 2025-12-31 10:22:15
Code Hygiene Score: 100
- Dependencies: 100 (25%)
- LOC: 100 (20%)
- Methods: 100 (20%)
- Secrets: 100 (15%)
- Classes: 100 (10%)
- Magic Numbers: 100 (10%)
Keine Issues gefunden.
Code
<section>
<h2>6. Apache Webserver</h2>
<h3>6.1 Installation</h3>
<pre><code>apt-get install -y apache2</code></pre>
<h3>6.2 Module aktivieren</h3>
<pre><code>a2enmod ssl http2 brotli rewrite headers proxy proxy_http proxy_fcgi proxy_wstunnel setenvif</code></pre>
<h3>6.3 Brotli-Kompression</h3>
<p>Datei: <code>/etc/apache2/conf-available/brotli.conf</code></p>
<pre><code><IfModule mod_brotli.c>
AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/javascript application/json application/xml
BrotliCompressionQuality 4
</IfModule></code></pre>
<h3>6.4 Status</h3>
<p>Apache/2.4.x mit HTTP/2 und Brotli-Unterstuetzung</p>
</section>