Apache secure: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Bez shrnutí editace |
Bez shrnutí editace |
||
| Řádek 7: | Řádek 7: | ||
ServerSignature Off | ServerSignature Off | ||
''' | ''' | ||
/etc/apache2/sites-enabled/default-ssl.conf | |||
UseCanonicalName On | |||
or | |||
RewriteRule ^/?$ https://full.host.com/roundcube/ [R=302,L] instead of RewriteRule ^/?$ https://%{HTTP_HOST}/roundcube/ [R=302,L] | |||
[[Category:Pentests]] | [[Category:Pentests]] | ||
Verze z 24. 9. 2026, 10:51
/etc/apache2/conf-available/security.conf
ServerTokens Prod ServerSignature Off
/etc/apache2/sites-enabled/default-ssl.conf UseCanonicalName On or RewriteRule ^/?$ https://full.host.com/roundcube/ [R=302,L] instead of RewriteRule ^/?$ https://%{HTTP_HOST}/roundcube/ [R=302,L]