Gallery URL = http://192.168.1.9/gallery2/main.php <--This is the URL the gallery reports
Gallery URL = http://txoof.ath.cx:81/gallery2 <--This is the URL that should be working
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6-3ubuntu4.2 apache2handler
Webserver = Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.2 with Suhosin-Patch
Database = mysqli 5.0.75-0ubuntu10.2, lock.system=flock
Toolkits = Gd, ArchiveUpload, NetPBM, ImageMagick, LinkItemToolkit, Exif, SquareThumb, Thumbnail, Getid3
Acceleration = full/2700, partial/21600
Operating system = Linux gorecanyon 2.6.28-16-server #55-Ubuntu SMP Tue Oct 20 20:37:10 UTC 2009 x86_64
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
When I visit my gallery via the url http://txoof.ath.cx:81/gallery2, the gallery attempts to rewrite the URL as http://192.168.1.9/foo. This obviously is not a problem from my INTRAnet, but is definitely a problem for anyone visiting from the INTERnet. I've tried adding http://txoof.ath.cx:81 to the Setup tab of URL Rewrite module, but this doesn't seem to fix things. I have to admit, I have no idea where to begin with this. Any suggestions would be greatly appreciated!
---
I see a 'Strong ba' in there, but it's getting eaten by
some Linux or something.
-Strong Bad
Txoof
Posts: 16501
Edit one of the last lines in config.php and change the setting for baseUri
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 45
Perfect. I just commented out that line and it fixed everything! Thanks for the advice.
---
I see a 'Strong ba' in there, but it's getting eaten by
some Linux or something.
-Strong Bad
Txoof
Posts: 1
I have somewhat of a similar problem. I am using Gallery2 on an intranet. The url is http://192.168.2.205 which works fine but when I click on a link in Gallery2 it redirects to http://localhost/gallery2/main.php. I get a "Not found on this server" error of course. I can copy and paste the links to navigate but what a headache. Can anyone point me where to fix this?
here is system info:
Gallery URL = http://localhost/gallery/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6-1+lenny3 apache2handler
Webserver = Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch
Database = mysqli 5.0.51a-24+lenny2+spu1, lock.system=flock
Toolkits = ArchiveUpload, Exif, Ffmpeg, NetPBM, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux debian 2.6.26-2-686 #1 SMP Sat Oct 17 17:59:23 UTC 2009 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.6 (Debian-3.0.6-3)
Rows in GalleryAccessMap table = 9
Rows in GalleryAccessSubscriberMap table = 6213
Rows in GalleryUser table = 2
Rows in GalleryItem table = 6213
Rows in GalleryAlbumItem table = 49
Rows in GalleryCacheMap table = 0
Posts: 16501
It's not like there are 1000s of posts and 100s of pages in this thread. The fix is posted in 2nd post.
http://gallery.menalto.com/node/92069#comment-325636
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here