I want to trigger an action only when a user logins at a special custom login node - say at the URL "/drupal/node/123". Thus, I have specified:

Path:
drupal/node/123

Operator:
Is equal to

However, this condition won't match. The operator "Ends with" won't work, too, so I have currently set it to "Starts with". It works, but it is not the optimal way, since a URL "/drupal/node/1234" would match too. Do you have an idea why "Is equal to" and "Ends with" won't work for me?

Comments

kaleworsley’s picture

Version: 6.x-1.0 » 6.x-1.x-dev

Is your site installed in the a sub-directory? I haven't done any testing with this configuration. I'll see if I can recreate this problem, but if you can give me any more insight it would be much appreciated.

Thanks,
Kale

roball’s picture

Yes, Drupal is installed in a sub directory (https://www.iseki-food.eu/drupal/).

kaleworsley’s picture

Have you tried uncommenting the 'RewriteBase /drupal' line in your .htaccess file?

Kale

zilverdistel’s picture

- subscribing -

I have the same problem.

Using subdirectory 'jana'. The RewriteBase variable is not set.

roball’s picture

Category: support » bug
BenK’s picture

Subscribing...

kaleworsley’s picture

Status: Active » Fixed

Fixed! See http://drupal.org/cvs?commit=390098

This change means you only need to set the path to 'node/123' rather than 'drupal/node/123'.

Kale

kaleworsley’s picture

Status: Fixed » Closed (fixed)

I've added a 6.x-1.1 release that should fix this issue.

Kale

roball’s picture

Version: 6.x-1.x-dev » 6.x-1.0

Yes, can confirm "Is equal to" now works fine with Path Rules 6.x-1.1, setting only the Drupal-internal path. Thanks!