Where do I find Apache's configtest declaration?
Posted
by
user1438038
on Server Fault
See other posts from Server Fault
or by user1438038
Published on 2012-10-20T19:40:25Z
Indexed on
2012/10/22
5:04 UTC
Read the original article
Hit count: 132
apache2
I want to improve security of my Apache webserver.
Open:
/etc/apache2/conf.d/security
Edit:
ServerTokens Prod ServerSignature Off
Reload/Restart:
/etc/init.d/apache2 reload /etc/init.d/apache2 restart
The values Prod and Off should be fine, but I get these errors:
ServerTokens takes one argument, Determine tokens displayed in the Server: header - Min(imal), OS or Full Action 'configtest' failed.
ServerSignature takes one argument, En-/disable server signature (on|off|email) Action 'configtest' failed.
Where do I find Apache's configtest declaration, so I can tell it to accept Prod and Off?
© Server Fault or respective owner