[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] DocumentRoot in ProxyPass?

On Wed, Sep 19, 2018 at 4:35 PM @lbutlr <kremels@xxxxxxxxx> wrote:
> Is it possible to do something along these lines in the apache.conf files?
> DocumentRoot /usr/local/www/roundcube/
> ProxyPassMatch ^/(.*\.php)$ fcgi://${DocumnetRoot}$1
> (that is, not have to repeat the information that is already in the configuration)

Not automatically like that, but e.g.:

# Will also use native environment variable if not found as a 'Define'
Define ROOT /var/www
DocumentRoot ${ROOT}
<Directory ${ROOT}>
  Require all granted

To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx