Linking to GaleryAlbum from elsewhere on the same site

PvVoorst
PvVoorst's picture

Joined: 2003-01-26
Posts: 9
Posted: Mon, 2003-10-06 21:42

Hi all,

Although the Mod_rewrite function is a great thing to see, I need a full url for linking to an album from elswere on my (PHPWS 0.9.3) website. So I don't want the short-URL...

Because I'm linking from elsewhere, the mod_rewrite function doesn't work here (404 error) and my album wont load. Ofcourse putting the same url in my browser works :roll:

So instead of using "http://my.site.nl/galery/album01", I need something like "http://my.site.nl/galery/view_album.php?set_albumname=album01" (but this won't work :( )

Can anyone provide me the proper syntax of the long URL?

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sat, 2003-10-11 13:26

Just turn the mod_rewrite short URLs off:
In your Gallery config.php, change this from 1 to 0:

$gallery->app->feature["rewrite"] = 1;

-Beckett (

)

 
PvVoorst
PvVoorst's picture

Joined: 2003-01-26
Posts: 9
Posted: Sat, 2003-10-11 16:13

Thanks Beckett! That's exactly what I wanted to know! It works now...