configuration - How to apply Apache server config to multiple paths? -


i have set of apache configuration settings (in apache.conf) contained within <directory /srv/*/public> block intended apply public directory.

however, of sites hosted on server, public directory nested 1 level deeper (so required path /srv/*/app/public), , directives in directory block failing applied these, though i'd them be.

i don't want duplicate contents of whole directory block (it contains quite lot of directives), can't find way apply 2 separate paths, , apache's docs suggest no use of wildcards can match paths of different depths (since * doesn't match /).

what's best way this?


Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -