Skip to content

Support for AliasMatch directives #479

@antaflos

Description

@antaflos

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions