Skip Menu |

This queue is for tickets about the Smolder CPAN distribution.

Report information
The Basics
Id: 59878
Status: open
Priority: 0/
Queue: Smolder

People
Owner: Nobody in particular
Requestors: avar [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.51
Fixed in: (no value)



Subject: Add configuration for canonical (forward-facing) host/port for reverse proxies
I'm running Smolder behind a reverse proxy, but when I request a password I get: You have requested a new password from http://localhost:4000 since your forgot your old one. There should be a way to configure this.
From: ken.mcdaniel [...] emc.com
I believe I had the same issue that you are describing and was able to generate a work around. (1) use the smolder configuration to define the hostname that you want in the email i.e. smolder.conf => HostName smolder.cpan.org (2) edit the /etc/hosts file to allow a reverse lookup of the defined hostname to be an ip address defined on the system. i.e. /etc/hosts => 192.168.xxx.xxx smolder smolder.devel.cpan.org smolder.cpan.org outside world 'smolder.cpan.org' ( 10.xxx.xxx.xxx ) ********** firewall ********** internal lab 'smolder.devel.cpan.org' ( 192.168.xxx.xxx ) On Fri Jul 30 10:25:56 2010, AVAR wrote: Show quoted text
> I'm running Smolder behind a reverse proxy, but when I request a password > I get: > > You have requested a new password from http://localhost:4000 since > your forgot your old one. > > There should be a way to configure this.