Reputation: 134
How it's possible to make both work together vhost_alias works fine without proxypassmatch and fpm works fine in a exclusive vhost, its possible to use % from vhost_alias?
<IfModule mod_vhost_alias.c>
<VirtualHost *:80>
ServerAlias *.*.in
UseCanonicalName Off
VirtualDocumentRoot /var/www/html/%2/%1/public
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/%2/%1/public/$1
</VirtualHost>
</IfModule>
Upvotes: 1
Views: 379
Reputation: 17886
You can't access those variables in any directives other than mod_vhost_aliases' own.
Upvotes: 0