Running gallery on different serverport

Bao

Joined: 2002-08-19
Posts: 2
Posted: Mon, 2002-08-19 13:30

I'm not running my webserver on port 80, which is causing trouble to some parts of gallery. When i try to login using login.php, i get a 404. The problem is login.php removes the port when i hit the login button. so i.e http://www.server.com:666/gallery/login.php gets to http://www.server.com/gallery/login.php which causes 404.
i've tried writing the full address in the php-document instead of just "login.php" but then it gets http://www.server.com/gallery/login.php/www.server.com:666/gallery/login.php

Any ideas?

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Mon, 2002-08-19 15:55

In your config.php file, try setting the options:

$gallery->app->photoAlbumURL
$gallery->app->albumDirUR

to include your port, not sure if that will fix all issues, but I believe
gallery uses these two values exclusively when it spits out urls.

 
Bao

Joined: 2002-08-19
Posts: 2
Posted: Mon, 2002-08-19 20:06

yea it works, thanks! :smile: