Installed ok, Configured ok, but Album dir/link once created

cbradney

Joined: 2002-09-24
Posts: 13
Posted: Fri, 2002-10-18 13:44

Hi.

Ive had Gallery 1.3.1 installed here, working find on XP. All dirs, albums etc work perfectly. I have now extracted the tarball on my hosts server (bsd, apache). The install works fine and I create all the settings correctly as far as I can tell based on what is in my local setup. The problem is that when creating albums the albums get created in the gallery/albums correctly but the url to the album on the setup page does not have gallery/albums/albumname but just gallery/albumname, even though in the config the Gallery Url is http://www.servername.com/dir1/gallery and the album dir is http://www.servername.com/dir1/gallery/albums.

any ideas? hints?

Thanks
Craig

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3473
Posted: Sat, 2002-10-19 11:01

Hi Craig.

Is this actually causing an error? You seem to be reporting normal behaviour.

Provided you have mod_rewrite running (which it seems you do), if you enter the URL:
http://www.servername.com/dir1/gallery/my_album
then gallery will display my_album, regardless of where the album is physically located. In other words, you don't type in the exact pathname of your albums directory to get to that album.

What's really happening:
In reality, mod_rewrite secretly converts the my_album part of the URL to view_album.php?set_albumName=my_album, and view_album.php is just in the plain old gallery directory. So what you see (or type) isn't always what you get :smile:

Hope that helps (let me know if otherwise!)
-Beckett (

)