I have installed the gallery module in my website based on Drupal.
Drupal access URL is http://www.domain.com
Gallery access URL is http://www.domain.com/gallery
All like works perfectly: i see the Random image and i can go to my gallery with the menu link, but when i can enter in an album, i have got one "page not found".
The URL for an album in Drupal is: "http://www.domain.com/v/albumname" but the good adress is "http://www.domain.com/gallery2/v/albumname".
Have you got a solution for me ?
Thanks !
PS: excuse me for my poor translation, i'm french and not expert in english.
Comments
Comment #1
kiz_0987 commentedhttp://www.domain.com/gallery2/v/albumname is probably not the correct address since that will likely point to your unembedded gallery.
It looks to me that you have clean URLs turned on but have not configured them correctly. See http://codex.gallery2.org/index.php/Gallery2:Modules:rewrite#URL_Rewrite...
Comment #2
Spacio commentedI have find the problem.
In gallery admin, it important to desactive the "rewrite URL module".
Comment #3
Anonymous (not verified) commentedBonjour,
I have the same problem here on my page. Could you please make a description of what the error was? So I could be able to fix this in my site too.
regards.
Comment #4
kiz_0987 commentedIn the above case it was a URL rewrite configuration error that was fixed by deactivating the URL Rewrite module. Do you have the URL Rewrite module active? If so, and you have problems then follow the link above to find out how to configure it correctly.
Comment #5
Spacio commentedThe rwrite module is in gallery menalto, not in Drupal.
good luck, this gallery is the best !
Comment #6
kiz_0987 commentedAdded URL Rewrite how-to at http://drupal.galleryembedded.com/index.php/DRUPAL_Gallery2_URL_Rewrites
Comment #7
Ghodmode commentedI was having the same problem and this thread helped, but the URLs provided were still a little ambiguous. It took a couple of tries with trial and error to get the values right.
After going to the Site Admin -> Url Rewrite -> Setup tab, it says to enter the physical location of the embedded mode htaccess file. My gallery is located in document_root/gallery2, and I have a corresponding .htaccess file in that location, so I figured that this meant /home/username/public_html/gallery2. However, the value that worked was just the physical path to the document root: /home/username/public_html.
Likewise, the value I used for the "Public Path" was just the document root ("/").
My clue to this was the image provided as an example in the previously mentioned URL. The path shown as an example is a subdirectory of the user's home directory, just as the document root is with my hosting provider's setup. The public path shown is just the document root.
This was confusing to me because neither of these paths have anything to do with the embedded application. They were both there before the embedded application was installed and should be reasonable defaults... o well, I'm new to this stuff :)
Thank you for this thread. I hope my experience will also prove helpful.
-- Ghodmode
Comment #8
kiz_0987 commentedComment #9
neokake commentedthanks Ghodmode now i fixet my site
Comment #10
dmcleer commentedGood night! After a week of trying to figure out why my mod_rewrite wasn't working, it all boiled down to the simple misinterpretation of settings mentioned by Ghodmode in #7 above! If the Gallery 2 set up instructions were only a little more clear! Thanks Ghodmode!