Url Problem
rruppel
Joined: 2009-07-01
Posts: 7 |
Posted: Wed, 2009-07-01 10:16 |
hi guys, first of all I should say thank you very much for the nice tool you have done I just installed gallery 3 beta and there is a litle problem which is bothering me the problem is that the urls are in a wrong format (but they still work) for example, the format for my album "album" is: www.domain2.com/domain2.com/gallery/index.php/album I think the problem is because of the structure that I have on my host: I have 2 domains both pointing to the root of the host account (public_html) then I use apache mod_rewrite to point domain2.com to -> public_html/domain2.com/ I installed gallery at public_html/domain2.com/gallery I think that in some place, when I installed gallery, it "marked" my "base url gallery" like: "www.domain2.com/domain2.com/gallery" so I think that a pratical way of fixing things is just changing this path (but I dont know where it is stored) so I am reporting here fow two reasons: 1. if you know how can I just change the "base url gallery" to correct my links 2. warn you about this bug (which I think its a installation bug) thanks in advance regards rafael ps: I didnt specified, but I think it obvious that the expected url for the album "album" would be: www.domain2.com/gallery/index.php/album (this link indeed works, but it's not the one that appears in all the links inside gallery page) |
|
Posts: 7
update:
I fixed the links changing the config.php to:
$config["site_domain"] = "/gallery/";
anyway, I think this is still a bug, and now I remembered that another guy has fixed another problem just hard-coding the property like I did
regards
rafael
Posts: 7994
It's difficult to predict all the varied situations out there. I think we've added some code since beta 1 to make it better so you could try it now to see if it identifies your setup without you having to manually tweak it.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!