My server is hosted on a private subnet and Piwigo can be accessed at http://192.168.1.x/piwigo
However, I made it public so it can also be reached from the Internet using an address like http://public.com/piwigo
My problem is, when I click on the "Reset password" link, the email contains a link to http://192.168.1.x/piwigo and my external users are unable to access it.
I looked at the forums and in the config files, but no luck.
How do I do to make http://public.com/piwigo appear in the "Reset password" email instead?
Piwigo 2.3.4 on Ubuntu 12.04
See if this helps you:
You need to use a domain name registered to you - you can't just put in any name and hope it works or it will break the gallery
But either I did something funny or this setting doesn't do what I want.
I didn't use the GUI extension to edit the file, so I located the setting in http_server/piwigo/include/config_default.inc.php, changed it to my domain name that I registered with no-ip.com and restarted Apache.
To test the new setting, I clicked on the "Forgot password" link and the email contained a link to this location:
Not quite what I wanted...
I wanted the link to bring me to http://public.com/piwigo
Did I do something wrong?
I continued to play with this and it now works.
The key was the quotation marks; I had to write the whole path to my piwigo site like this: "www.public.com/piwigo"
It now works!
so I located the setting in http_server/piwigo/include/config_default.inc.php,
never ever change the default files !! Use the plugin LocalFiles Editor