Difference between revisions of "Apache"
From Steak Wiki
Jump to navigationJump to search (Created page with "Apache hardening: https://wiki.zoneminder.com/Ubuntu_Install_ZoneMinder_on_Ubuntu_Server ==Eliminate Error Pages== {{Cat|/etc/apache2/apache.conf| ErrorDocument 400 /error55...") |
|||
Line 5: | Line 5: | ||
==Eliminate Error Pages== | ==Eliminate Error Pages== | ||
{{Cat|/etc/apache2/apache.conf| | {{Cat|/etc/apache2/apache.conf| | ||
− | ErrorDocument 400 /error555.html | + | ErrorDocument 400 /error555.html |
− | ErrorDocument 401 /error555.html | + | ErrorDocument 401 /error555.html |
− | ErrorDocument 404 /error555.html | + | ErrorDocument 404 /error555.html |
− | ErrorDocument 403 /error555.html | + | ErrorDocument 403 /error555.html |
− | ErrorDocument 500 /error555.html | + | ErrorDocument 500 /error555.html |
− | ErrorDocument 502 /error555.html | + | ErrorDocument 502 /error555.html |
− | ErrorDocument 503 /error555.html | + | ErrorDocument 503 /error555.html |
− | ErrorDocument 504 /error555.html | + | ErrorDocument 504 /error555.html |
}} | }} | ||
Revision as of 04:13, 11 June 2020
Apache hardening: https://wiki.zoneminder.com/Ubuntu_Install_ZoneMinder_on_Ubuntu_Server
Eliminate Error Pages
Contents of /etc/apache2/apache.conf
ErrorDocument 400 /error555.html
ErrorDocument 401 /error555.html
ErrorDocument 404 /error555.html
ErrorDocument 403 /error555.html
ErrorDocument 500 /error555.html
ErrorDocument 502 /error555.html
ErrorDocument 503 /error555.html
ErrorDocument 504 /error555.html
Contents of /var/www/html/error555.html
Just a blank file.