-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Since the Alias directive does not support matching regular expressions using something like Alias ~ ^/git/(.*...)$ ...
one has to use AliasMatch instead, which currently isn't supported by the puppetlabs-apache module:
Example:
AliasMatch ^/git/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /srv/git/repositories/$1
AliasMatch ^/git/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /srv/git/repositories/$1
Metadata
Metadata
Assignees
Labels
No labels