T
Tore Aursand
Hi!
I'm totally stuck with a regular expression. It has actually to do with
my Apache configuration (I've posted to alt.apache.configuration), but as
regular expressions are quite similar, I hope it's OK to post my question
here as well.
The problem is that I want to match (inside a <DirectoryMatch> directive)
'/var/www/html/test/' and all the subdirectories. However, I _do not_
want the regular expression to match on subdirectories which begin with an
underscore ('_').
Example:
/var/www/html/test/ - Match
/var/www/html/test - Match
/var/www/html/test/2 - Match
/var/www/html/test/23/ - Match
/var/www/html/test/_foo/ - Do _not_ match
Thanks for any help!
--
Tore Aursand <[email protected]>
"You know the world is going crazy when the best rapper is white, the best
golfer is black, France is accusing US of arrogance and Germany doesn't
want to go to war."
I'm totally stuck with a regular expression. It has actually to do with
my Apache configuration (I've posted to alt.apache.configuration), but as
regular expressions are quite similar, I hope it's OK to post my question
here as well.
The problem is that I want to match (inside a <DirectoryMatch> directive)
'/var/www/html/test/' and all the subdirectories. However, I _do not_
want the regular expression to match on subdirectories which begin with an
underscore ('_').
Example:
/var/www/html/test/ - Match
/var/www/html/test - Match
/var/www/html/test/2 - Match
/var/www/html/test/23/ - Match
/var/www/html/test/_foo/ - Do _not_ match
Thanks for any help!
--
Tore Aursand <[email protected]>
"You know the world is going crazy when the best rapper is white, the best
golfer is black, France is accusing US of arrogance and Germany doesn't
want to go to war."