===== Default Redirect ausschalten =====
I want to change the default apache2 document root to /var/www instead
of /var/www/apache2-default.
I ... d the link /etc/apache2/sites-enabled/000-default to defult and restarted apache2, but I am still always directed to http://server/apache2-default. I have created a ... ady at http://server/index.html, but
not if I try to go to http://server.
Below is the default file. The only change I've made is to comment
out RedirectMatch line.
<code>
NameVirt
der Standard
* Seit PHP 8 ist mod_php praktisch tot
*
Heute nutzen alle großen Systeme PHP‑FPM:
* WordPress
* Joomla
* Shopware
* Magento
* Symfony
* Laravel
**Fazit**
PHP‑FPM ist:
... code>
Falls die Datei nicht existiert, wird sie automatisch angelegt.
Dann:
<code>systemctl restart
rtualHost> (z.B. ganz oben) einfügen:
<code>ServerTokens ProductOnly</code>
* Prod oder ProductOnly. Es wird nur der Programmname ausgegeben: Apache.
* Major. Die