On Wed, May 20, 2015 at 8:59 PM, Yamaban <foerster@lisas.de> wrote:
On Wed, 20 May 2015 18:25, Per Jessen wrote:
I need to borrow an extra pair of eyes. Does anyone see any significant difference between these two:
a) <Directory ~ "^/srv/www/vhosts/[^/]+/htdocs"> b) <Directory "/srv/www/vhosts/*/htdocs">
In apache 2.4.
At first glance? a) allows only one directory between .../vhosts/ and /htdocs b) allows zero, one, or more directories between .../vhosts/ and /htdocs
Are you sure? From 2.4 manual None of the wildcards match a `/' character
e.g: /srv/www/vhosts//htdocs, /srv/www/vhosts/test.domain.com/htdocs, /srv/www/vhosts/hijinks/blubber/blah/htdocs
in a) that could be extended to exclude some other chars, too. e.g. exclude "_" from vhostname: .../[^/_]+/...
- Yamaban -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org