I want to restrict access to edit/blog/add and user nodes but not effect any .css files.

would a locationmatch with this regex

\/node\d+\/(edit|blog|add|user)\/[\w]+\.(?!css)[\w]+/i

do the job?

Comments

pwoodhouse’s picture

\/((node\d+\/(edit|add))|(blog|user))\/[\w]+\.(?!css)[\w]+/i

Might actually be more useful for Drupal... :S