Anyone get Clearn URLs working with Drupal 5.6 and Gallery 2.2.4?

ZenCoder

Joined: 2007-11-07
Posts: 4
Posted: Sun, 2008-01-27 02:11

Drupal's clean urls work, so does the standalone Gallery2, but when Gallery's code gets added to the top of Drupal's .htaccess file, Drupal quits working!

I tested it again with a clean install of Drupal 5.6 and Gallery 2.2.4 on a test site and have the exact same problem.

I am wondering if anyone has embedded url rewrite working with Drupal 5.6 and Gallery 2.2.4 and if so did did they have to do anything special to get it working right.

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Sat, 2008-02-09 14:28

Could you please describe your directory structure (where Drupal and G2 are installed) and attach your .htaccess file to your post?

 
ZenCoder

Joined: 2007-11-07
Posts: 4
Posted: Sat, 2008-02-09 16:15

Sorry I found the problem...

In the Embedded URL rewrite sections where it says

"Please enter the Url to your environment. E.g. http://www.mySite.com/myNiceCMS/"
Then it suggests I enter http://www.neotaku.com

The example and the suggestion given is either wrong or misleading!

If I enter a the full URL path to Drupal like the example or suggested value everything breaks!
If I instead enter a simple "/" everything works.

If someone rewrote it to say "Please enter the Relative Url". and given /myNiceCMS/ as an example I would have had no problem.

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Sat, 2008-02-09 16:35

Hmm, the description is indeed misleading. If you take a close look at the form, you will notice a "http://www.yoursite.com" string above the textfield. So your are only asked to complete the url (with your local path/subfolder), not to enter the whole location. However, good to know you got it working :)

 
ZenCoder

Joined: 2007-11-07
Posts: 4
Posted: Sat, 2008-02-09 18:06

Ah, but its above... so rather honestly I think it looks more like a suggestion than a partial completion.

I believe that the form needs to be edited to say "relative path" or "relative url".

I am not sure if the wording changed from prior versions or not. Maybe it just has a 1 in 5 chance of confusing me.

 
kayaker

Joined: 2007-02-08
Posts: 1
Posted: Wed, 2008-02-13 18:45

I'm with ZenCoder. Just spent several hours chasing my wake trying different solutions, installing, uninstalling, and searching forums before I found this one.

I, too, was entering www.mysite.com etc. I think the misleading part is the "suggestion" is my site's actual URL whereas the textbox prefix is generic www.mysite.com.

 
ZenCoder

Joined: 2007-11-07
Posts: 4
Posted: Wed, 2008-02-13 20:15

I am glad I wasn't the only person to get confused. Whenever you want a relative url you should specify "relative". If you say url, show a full urls, people are going to be thinking they need to input a full url.