El verbose de apache2 es un mesaje que aparece al final del error de pagina no encontrada.
Not Found
The requested URL /ss was not found on this server.
Apache/version (Debian) PHP/version+lenny2 with Suhosin-Patch mod_python/version Python/version mod_ruby/versionRuby/version(2008-08-11) Server at www.tuservidor.com Port 80Esto puede ser facilmente configurado, es extraño por que en Debian Etch esto estaba directamente en apache.conf pero ahora esta en security dentro de la carpeta conf.d
Ahora lo configuramos así.
nano /etc/apache2/conf.d/security
Dentro de una de este archivo buscamos una linea parecida a esta:
# Set to one of: Full | OS | Minimal | Minor | Major | Prod
# where Full conveys the most information, and Prod the least.
#
#ServerTokens Minimal
ServerTokens Full
Podemos configurarlo de varias maneras, para ello debemos reemplazar la linea ServerTokens Full por una de las que mejor se acomode a nuestras necesidades:
ServerTokens Full
Muestra toda la información
Not Found
The requested URL /ss was not found on this server.
Apache/version (Debian) PHP/version+lenny2 with Suhosin-Patch mod_python/version Python/version mod_ruby/versionRuby/version(2008-08-11) Server at www.tuservidor.com Port 80
ServerTokens OS
Muestra el Sistema Operativo
Not Found
The requested URL /ss was not found on this server.
Apache/2.2.9 (Debian) Server at www.informatica-unsxx.edu.bo Port 80
ServerTokens Minimal
Muestra lo mínimo que es lo mas recomendable.
Not Found
The requested URL /ss was not found on this server.
Apache/2.2.9 Server at www.informatica-unsxx.edu.bo Port 80
ServerTokens minor
Es lo mismo que Minimal pero no muestra la version minima en 2.2.x
Not Found
The requested URL /ss was not found on this server.
Apache/2.2 Server at www.informatica-unsxx.edu.bo Port 80
Severtokens Major
Muestra lo siguiente, ademas
muestra la version mayor apache/2.
Not Found
The requested URL /ss was not found on this server.
Apache/2 Server at www.informatica-unsxx.edu.bo Port 80
Severtokens Prod
Muestra lo siguiente
Not Found
The requested URL /ss was not found on this server.
Apache Server at www.informatica-unsxx.edu.bo Port 80Saludos y espero que a alguien le sea de u
[...] This post was mentioned on Twitter by Gary Sandi Vigabriel. Gary Sandi Vigabriel said: Post: Cambiar el Verbose Mode en Apache2 http://www.garysandi.com/?p=453 [...]
ResponderEliminar