[users@httpd] looking for a more generic ProxyPassMatch line to run php-fpm

2016-11-09 Thread Jason Brooks
Hello, I am running ubuntu 16.04 lts server with apache 2.4 running php-fpm via mod_proxy_fcgi. I really should say I am “experimenting”. In my main document root (/var/www/html) I have the following ProxyPassMatch line: ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://localhost:9000/var/w

Re: [users@httpd] ProxyPass not working?

2016-11-09 Thread Eric Covener
> > > ServerName degenaro.com > > I've restated the apache server, and visit http://localhost/degenaro.com/ > and see this in my browser: > ​ Request likely not going to the virtual host you configured. See apachectl -S for a summary.​

Re: [users@httpd] ProxyPass not working?

2016-11-09 Thread Yehuda Katz
I hit send too fast. Also, Ubuntu/Debian by default load config from /etc/apache2/sites-enabled. You can use a2ensite or just create a symlink from sites-available. - Y On Wed, Nov 9, 2016 at 7:01 PM, Yehuda Katz wrote: > Can you confirm you don't have a typo? Your ProxyPass has a slash and th

Re: [users@httpd] ProxyPass not working?

2016-11-09 Thread Yehuda Katz
Can you confirm you don't have a typo? Your ProxyPass has a slash and the URL you posted has a dot. - Y On Wed, Nov 9, 2016 at 6:46 PM, Lou DeGenaro wrote: > I'm running apache2 and have defined the following: > > lou@HAL9000:/etc/apache2/sites-available$ cat degenaro.com.conf > > ProxyReq

[users@httpd] ProxyPass not working?

2016-11-09 Thread Lou DeGenaro
I'm running apache2 and have defined the following: lou@HAL9000:/etc/apache2/sites-available$ cat degenaro.com.conf ProxyRequests off ProxyPreserveHost on ServerName degenaro.com ServerAdmin lou@localhost ProxyPass /degenaro/com ajp://localhost:8080/degenaro.com ProxyPass

Re: [users@httpd] mod_authnz-ldap & %20

2016-11-09 Thread Eric Covener
On Wed, Nov 9, 2016 at 10:55 AM, Gerhard Mourani wrote: > This is what I've used as ldapsearch command for my test: > > ldapsearch -x -h 192.168.2.40 -D "administra...@domain.com" -W -b > "OU=Privilege Groups,OU=Users Specials,DC=domain,DC=com" -s sub "(cn=*)" cn > mail sn > > And get the followin

Re: [users@httpd] mod_authnz-ldap & %20

2016-11-09 Thread Gerhard Mourani
This is what I've used as ldapsearch command for my test: ldapsearch -x -h 192.168.2.40 -D "administra...@domain.com" -W -b "OU=Privilege Groups,OU=Users Specials,DC=domain,DC=com" -s sub "(cn=*)" cn mail sn And get the following result which show to me that it is not working. Enter LDAP Passwo