setup/mod_rewrite.template $GALLERY_URL

joern42

Joined: 2008-08-13
Posts: 17
Posted: Wed, 2008-08-13 08:36

Hi,

i just notified that the variable $GALLERY_URL has no effect in setup/mod_rewrite.template, $GALLERY_URL was blank in /galerie/.htaccess and so gallery produced an error while adding a new album ("The requested URL /view_album.php was not found on this server.")

after i changed $GALLERY_URL to /galerie in setup/mod_rewrite.template everything worked fine and the .htaccess was generated as it should..

gallery 1.5.8

bug or feature?

regards, joern42

Login or register to post comments
joern42

Joined: 2008-08-13
Posts: 17
Posted: Wed, 2008-08-13 09:53

hmm,

seems that my system has problems with mod_rewrite, so i disabled it in config.php, now everything is working...

regards, joern

Login or register to post comments
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6765
Posted: Wed, 2008-08-13 10:48

Hi Joern,

i can not verify the behaviour you describe.

Which Version of PHP do you have?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

Login or register to post comments
joern42

Joined: 2008-08-13
Posts: 17
Posted: Wed, 2008-08-13 13:51

Gallery URL: http://www.sobota-naturfoto.de/galerie/
Gallery version: 1.5.8
Apache version: 1.3.26
PHP version: 4.1.2
Operating system: Linux

Login or register to post comments
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6765
Posted: Wed, 2008-08-13 14:09

Hi,

then it could maybe be a PHP bug.
Is "magic_quotes_sybase" ON in your php.ini?

If yes, then this could be the problem:

http://de.php.net/ChangeLog-4.php#4.4.0
Fixed bug #33200 (preg_replace(): magic_quotes_sybase=On makes 'e' modifier misbehave).

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

Login or register to post comments
joern42

Joined: 2008-08-13
Posts: 17
Posted: Wed, 2008-08-13 14:36

Hi,

no, its set to "Off"...

anyway, without mod_rewrite its working fine...

(did i say, that i really hate php and love perl? :) )

regards, joern

Login or register to post comments
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6765
Posted: Wed, 2008-08-13 14:55

Hm, okay.

No you did not.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

Login or register to post comments