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 |

Posts: 17
hmm,
seems that my system has problems with mod_rewrite, so i disabled it in config.php, now everything is working...
regards, joern
Posts: 6765
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
Posts: 17
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
Posts: 6765
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
Posts: 17
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
Posts: 6765
Hm, okay.
No you did not.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6