Can´t access to gallery throw internet

gergh

Joined: 2010-09-05
Posts: 2
Posted: Sun, 2010-09-05 02:05

I installed gallery2 in my ubuntu server 9.10, i have it up and running as a web server, basically I can access to my gallery in my LAN but im tryin now to access throw internet and i see notting, do i need to configure something to access to my gallery??

I´ve just realized, it is redirecting me to : www.my_lan_ip/gallery2/main.php, what´s going on??

And i have another question, the reason i installed gallery it's because i have all my photos on a partition in my server , i want to be able to watch them without manually upload them into my web, how can I put them all in the gallery witout uploading them, if I already have them in the same hard drive?

Thank you for your time.

Atte. Gerardo

P.S. : I already tried to look around the forum sorry if im duplicating this topic.

Gallery version 2.3
PHP version 5.2.10-2ubuntu6.4 apache2handler
Webserver Apache/2.2.12 (Ubuntu)
Database mysqli 5.1.37-1ubuntu5
Toolkits Gd
Operating system Ubuntu Server 9.10
Browser Chrome

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2010-09-05 02:38

Edit config.php, go to the bottom of the file and edit one of the last lines to remove your site so it looks like this:
$gallery->setConfig('baseUri', '');

Quote:
And i have another question, the reason i installed gallery it's because i have all my photos on a partition in my server , i want to be able to watch them without manually upload them into my web, how can I put them all in the gallery witout uploading them, if I already have them in the same hard drive?

Sorry you need to run through the import process. Someone has created a script to automate that process by running a cron job, but that still doesn't use your existing files.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
gergh

Joined: 2010-09-05
Posts: 2
Posted: Sun, 2010-09-05 18:45

thank you, for your answer and time,editing the config.php works just fine :).

Do you have any suggestions about creating a web gallery, with my already existing directory??

Thank you very much

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2010-09-05 23:04

Sorry, I don't know of a web gallery that doesn't do an import process. If you have a small set of pictures there might be something that works well, but I can't see anything working well for any large set of photos/directories and for anything that's hit by a large number of people.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here