Servidor de comunicacions Institut les Planes
# apt-get install cups
# /etc/init.d/cups restart
# nmap localhost -p 631 Starting Nmap 5.21 ( http://nmap.org ) at 2011-05-13 20:25 CEST Nmap scan report for localhost (127.0.0.1) Host is up (0.00011s latency). Hostname localhost resolves to 2 IPs. Only scanned 127.0.0.1 PORT STATE SERVICE 631/tcp open ipp
FORBIDDEN 403
# Restrict access to the server... <Location /> Order allow,deny Allow all </Location> # Restrict access to the admin pages... <Location /admin> Order allow,deny Allow all </Location> # Restrict access to configuration files... <Location /admin/conf> AuthType Default Require user @SYSTEM Order allow,deny Allow all </Location>
# /etc/init.d/cups restart