Could be the following AliasMatch
statements for Apache 2.4 combined into one?
AliasMatch ^/([0-9]{6})$ /var/www/data/$1
AliasMatch ^/([0-9]{6})/(.*)$ /var/www/data/$1/$2
Could be the following AliasMatch
statements for Apache 2.4 combined into one?
AliasMatch ^/([0-9]{6})$ /var/www/data/$1
AliasMatch ^/([0-9]{6})/(.*)$ /var/www/data/$1/$2
BillThor only forgot to add the *s in the patterns. Either:
AliasMatch ^/([0-9]{6}(/.*)?)$ /var/www/data/$1
or
AliasMatch ^/([0-9]{6})((/.*)?)$ /var/www/data/$1$2
The first for preference.
You have full regular expressions for the match so either of these should work.
AliasMatch ^/([0-9]{6}(/.*)?)$ /var/www/data/$1
AliasMatch ^/([0-9]{6})((/.*)?)$ /var/www/data/$1$2