AliasMatch and DirectoryMatch

I have the following inside a VirtualHost:

  
  AliasMatch ^/private/(.*)/(.*)/images/ /private/$1/$2/images/

  <DirectoryMatch "^/private/(.*)/(.*)/images/">
    Options Indexes FollowSymlinks MultiViews Includes
    AllowOverride None
    Order allow,deny
    Allow from all
  </DirectoryMatch>

The regex seems correct not sure what I’m missing but when I request the images from a URL in browser I get 403 Forbidden???

Modules are installed, I can get this to work using Alias and Directory but regex seems to fail - hopefully something simple???

Cheers,
Alex

AllowOverride None looks like the problem but WHY enclose all that in a <DirectoryMatch> conditional?

As for whether your module is enabled, the Redirect series are part of mod_alias which is in the Apache core, i.e., it’s always loaded.

Regards,

DK