Override the “host” header for redirects
PaperCut NG/MF’s web server requires the ability to redirect users to new pages. When performing a redirect, the target location is based on the Host header that the web browser requested. If the host header is omitted (e.g. by manually crafting an HTTP request), the target location is based on the server’s own hostname or IP address. In a NAT environment this might not be ideal if the server’s IP address is considered private.
This can also apply if security audit software reports Web Server HTTP Header Internal IP Disclosure or similar.
In a text editor, open
Add a new line:
printing.uni.eduis the fully qualified host name on which all users will access PaperCut NG/MF.
Restart the service PaperCut NG/MF Application Server
Test access to the web interface (using both HTTP and HTTPS if applicable).
Note that when this option is used, PaperCut NG/MF should not be accessed using any hostname other than the one configured. Doing so can cause problems.