[solved] No access to Gallery because client gets back wrong URL

schloeri

Joined: 2011-05-16
Posts: 5
Posted: Mon, 2011-05-16 08:18

Hello,

I recently installed Gallery 2 latest version on an apache2 web server.
The web server runs locally but is accessible from outside.
I use a vhost to access Gallery. Gallery is installed outside the web server root.
I use the same scenario (vhost, dynDNS entry, local DNS entry, etc.) for other services such as a webmailer. These work.

Locally I can access Gallery by http://pictures. The DNS server and the apache vhost file are set up to handle that.
An dynDNS account such as pictures.dyndns.account exists and is active.

When accessing pictures.dyndns.account from outside the local domain Gallery does not show up. The client (in this case Firefox 4) seems to get back http://pictures/main.php.

Can anybody help here?

Regards

Stefan

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2011-05-16 16:25

Go to your config.php - set the BaseUri parameter at the end to '' - i.e. empty.

 
schloeri

Joined: 2011-05-16
Posts: 5
Posted: Tue, 2011-05-17 07:11

Thank you very much for that hint.
It was a small and easy, hence very effective operation.