Hello all,
i´am new in gallery2.
I have installed Joomla on my server in /var/www/joomla.
I installed Gallery2 in /var/www/joomla/gallery2.
Path to pictures is /home/export/pictures/.
Inside the network i start joomla with: http://server/.
That works first fine. I have also a dyndns account a connect via https (-> Router with port forwarding 443)to the same Server. If i connect to https://famb.min.nu (example) i can connect also to jommla, can change to the gallery2 bridge but don´t see the pictures. So i changed inside the config.php of gallery2 the following:
$gallery->setConfig('baseUri', 'http://localhost/joomla/gallery2/main.php');
to
$gallery->setConfig('baseUri', 'https://famb.min.nu/gallery2');
Now i can see all pics from outside the network via https but don´t have any pics from inside the network. Can something tell me, where i have to change the settings for different url´s for http and https?
The Gallery2 Path is: /var/www/joomla/gallery2/embed.php
The Gallery 2 Uri is: http://localhost/joomla/gallery2/
Login Redirect is: /index.php?option=com_login
Hope that someone can give me a tip.
Regards
malte
Posts: 16503
I'm not sure I follow. Are you trying to access Gallery from at least 2 different URLs?
Try setting the baseUri in config.php like so:
$gallery->setConfig('baseUri', '');
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here