URL rewrite not working when embedded in Drupal

tasigurl

Joined: 2008-08-08
Posts: 2
Posted: Thu, 2008-08-21 17:00

Please Help

I have screen shots here: http://drupal.org/node/155959 I also asked for help here: http://drupal.org/node/220049

I installed the lastest Gallery2 via fantastico. My install is like:
Drupal dir: /var/www/web/html/drupal/
• Gallery dir: /var/www/web/html/gallery2/
• Website URL: http://www.example.com/drupal
• Standalone Gallery2 URL: http://www.example.com/gallery2/

I need help config the paths and locations for the stand alone and the drupal mod. on drupal in the gallery> settings> install it says everything is ok but its not because I can't get to the gallery from drupal.

I dont know what "rule to put in "show item" in my gallery stand alon admin> url rewrite:

On Drupal gallery> settings> install it says:
"Clean URL / URL Rewrite OK There is a writable .htaccess file in your defined Drupal directory (/home/gotantan/public_html/rwolfefamily/). Your 'Show Item' rule should start with 'gallery/'. Make sure to change the URL Rewrite rule(s) accordingly. "

I think I need to change the embed uri but It won't let me change the embed URI:

"Step 2: Gallery2 location settings - Auto Configuration (OK)
Gallery2 URL or URI:

URL or URI of the G2 standalone location. This can be either the full URL to Gallery2 (e.g. http://www.example.com/gallery2) or the path from docroot to the Gallery2 directory (e.g. /gallery2). If using a URI the protocol/hostname are both optional.
Gallery2 filesystem path:
/home/gotantan/public_html/rwolfefamily/gallery2/
Embed URI:
/index.php?q=gallery"

Login or register to post comments
steinmb01
steinmb01's picture

Joined: 2005-04-07
Posts: 28
Posted: Tue, 2008-08-26 11:44

Hi
I have also had problems with that the install script to gallery module don't write to my .htaccess file. Check the date and time on .htaccess and reinstall the module. What I have seen it that is don't write to the file (but give no error-message).

Try to reinstall the module using the dev. module or using the deinstall script provided by image gallery module. Make sure that the .htaccess IS writeable by the webserver. If you are not sure how to do this just set it to 777 during install (rember to set it back when you are done with the installation!).

--
Steinmb

Login or register to post comments
steinmb01
steinmb01's picture

Joined: 2005-04-07
Posts: 28
Posted: Sun, 2008-09-28 12:50

Did you solve this issue or did you just give up?

--
Steinmb

Login or register to post comments
Jeremy Toaster

Joined: 2008-03-05
Posts: 12
Posted: Fri, 2008-11-14 16:22

First you MUST have the SVN installed.

Gallery version = 2.3-svn core 1.2.33
API = Core 7.52, Module 3.9, Theme 2.6, Embed 1.4
PHP version = 5.2.6 apache2handler
Webserver = Apache/2.2.9 (Unix) PHP/5.2.6
Database = mysqli 5.0.67-log, lock.system=flock

This is what I am using.

Post your System information from the Gallery standalone in the Maintenance section.

Login or register to post comments