ProxyPassMatch with Unix sockets

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

 



Hi,
I have a PHP-FPM web application that I want it to be accessed under
"/alias/" path. I'm trying to configure ProxyPassMatch with Unix
sockets but it doesn't work because it passes "/alias/" to the web
app, but this path doesn't exist :(

What I have so far is this:

ProxyPassMatch ^/alias/(.*\.php(/.*)?)$ \
unix:/var/run/user-fpm.sock|fcgi://localhost/home/user/webapps/app1/


According to this documentation [1] "the captured request URI ($1) is
not passed after the path". Any idea about how can I pass the correct
path to the fcgi app (without a leading "/alias")?


[1] http://wiki.apache.org/httpd/PHP-FPM

Thanks!
-- 
Marc

---------------------------------------------------------------------
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