apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.91k stars 462 forks source link

Annoying absolute refs in HTML pages of web interface #296

Closed michaelrsweet closed 20 years ago

michaelrsweet commented 20 years ago

Version: 1.1.19 CUPS.org User: arnysch.gmx

Some absolute references (starting with "/") occur both in static (DocumentRoot) and in dynamically generated pages.

References to the cupsd machine (HREF=, SRC=, are there others?) should be relative only. This would for example allow to easily set up a mod_proxy module of Apache V2 to forward requests to cupsd (so called "reverse proxying").

For example the following mod_proxy directive in Apache's configuration file for a virtual machine serving https requests

ProxyPass /cups/ http://localhost:631/

would forwards https://myhost/cups/ to http://localhost:631/

This way an SSL encrypted access to cupsd's Web Interface should be possible.

I am not really an HTTP/HTML/apache expert, but I have successfully tried this with MLdonkey's web interface.

michaelrsweet commented 20 years ago

CUPS.org User: mike

You do know that CUPS supports SSL, right?