in reply to Re: mod_perl and HTTP::Mason acting funky
in thread mod_perl and HTTP::Mason acting funky

That was really useful, but i couldn't seem to find any documentation about using a location match using sub directorys, eg "/dir/dir/\.html" but that wont work. Any ideas? / This is not really perl at all is it :P /
  • Comment on Re^2: mod_perl and HTTP::Mason acting funky

Replies are listed 'Best First'.
Re^3: mod_perl and HTTP::Mason acting funky
by mreece (Friar) on Aug 30, 2006 at 16:45 UTC
    LocationMatch uses regex, so you would want something like <LocationMatch "/dir/dir/[^/]*\.html$"> (/dir/dir/*.html only) or <Location Match "/dir/dir/.*\.html$"> (any *.html below /dir/dir/)