Since solaris.hsiao.net is hardware insufficient for CUPS, I had to use cahtoh01 for the purpose.
In order to have web access to CUPS, I had to change Apache and CUPS configuration.
On solaris.hsiao.net, apache configuration changes from localhost IP:
Code: Select all
ProxyPass / http://127.0.0.1:631/
ProxyPassReverse / http://127.0.0.1:631/
to cahtoh01 IP:
Code: Select all
ProxyPass / http://192.168.1.230:631/
ProxyPassReverse / http://192.168.1.230:631/
On cahtoh01, cupsd.conf changes are:
Code: Select all
# Only listen for connections from the local machine.
# Change to port only - 02/29/2012
#Listen localhost:631
Port 631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
# Specifically add Allow hosts - 02/29/2012
Allow 192.168.1.*
</Location>
# Restrict access to the admin pages...
<Location /admin>
# Comment out for admin module - 02/29/2012
# Encryption Required
Order allow,deny
# Specifically add Allow hosts - 02/29/2012
Allow 192.168.1.*
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
# Specifically add Allow hosts - 02/29/2012
Allow 192.168.1.*
</Location>
I then could access
http://cups.hsiao.net/ without permission issues.