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
Comment #1
kaleworsley commentedIs 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
Comment #2
roball commentedYes, Drupal is installed in a sub directory (https://www.iseki-food.eu/drupal/).
Comment #3
kaleworsley commentedHave you tried uncommenting the 'RewriteBase /drupal' line in your .htaccess file?
Kale
Comment #4
zilverdistel commented- subscribing -
I have the same problem.
Using subdirectory 'jana'. The RewriteBase variable is not set.
Comment #5
roball commentedComment #6
BenK commentedSubscribing...
Comment #7
kaleworsley commentedFixed! 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
Comment #8
kaleworsley commentedI've added a 6.x-1.1 release that should fix this issue.
Kale
Comment #9
roball commentedYes, can confirm "Is equal to" now works fine with Path Rules 6.x-1.1, setting only the Drupal-internal path. Thanks!