Re: DocumentRoot in ProxyPass?

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

 



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://127.0.0.1:9000${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
</Directory>

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




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux