/ is needed at the end of my gallery url?

ZeroCoolZ

Joined: 2004-09-09
Posts: 2
Posted: Thu, 2004-09-09 17:54

Hello,

I've installed gallery 1.4.4 a few weeks ago and everything was perfect until recently when my web hosting provider made changes on the server. Now, my users must access the gallery with http://www.cine-parc.com/photos/ (with the / at the end); if they only type http://www.cine-parc.com/photos they see the page but when they try to log-in that doesn't work. You can try with login/password: gallery/test on both address... How can I fix this?

Thank you! :wink:

----
Gallery URL (optional but very useful): http://www.cine-parc.com/photos
Gallery version: v1.4.4-pl2
Apache version: 1.3.31
PHP version (don't just say PHP 4, please): 4.3.8
Graphics Toolkit: NetPBM
Operating system: Linux (?)
Web browser/version (if applicable): IE 6

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2004-09-09 20:37

Your problem is that you don't use the same hostname for both the Gallery and the albums URLs in your config. That breaks logins.

 
ZeroCoolZ

Joined: 2004-09-09
Posts: 2
Posted: Thu, 2004-09-09 20:45
$gallery->app->photoAlbumURL = "http://www.cine-parc.com/photos";
$gallery->app->albumDirURL = "http://www.cine-parc.com/photos/albums";

???

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2004-09-09 20:48

Then, why do I get redirected to http://cineparc.technologiz.com/photos/ when I try to browse your site? Thats the real issue.