interfasys
Verified User
I'm sure the people behind CB2.0 must have some implementation strategy they follow when writing templates.
Would it be possible to share it with us so that we better understand some of the decisions that were made regarding PHP-FPM?
This would help us understand what CB is writing where and prevent us from breaking things or opening security holes.
Examples
The team would like to use mod_proxy_fcgi everywhere but they feel it isn't possible because ProxyPassMatch is not available in a Directory directive and because RewriteRule doesn't behave properly. See bugs #, etc.
Virtualhosts are thus using mod_fastgi except for ~user which is using mod_proxy_fcgi
Template: DAtemplates/virtual_host2*.conf
Status: OK
The team has decided to use mod_proxy_fcgi for Web apps because that's what will eventually be used everywhere.
It has been decided to create as many global ProxyPassMatch lines as there are web apps so that applications can be reached via the server's IP.
Template: Not available
Status: OK
In order for PHP scripts to be able to run in /var/www/html, it's possible to add a ProxyPassMatch directive to the server's virtualhost, but for unknown, security, etc. reasons, it is not advised to do so.
Template: CB/configure/ap2/conf/extra/httpd-vhosts.conf
Status: Not implemented
Discussion: forumlink1
The team has decided to create aliases using RewriteRule for reason X
Template: Not available
Status: Not working
Discussion: forumlink2
php-fpm.conf
etc.
We can sometimes guess what is going on and by spending time reading lots of documentation, we can eventually figure it out, but it's much easier if there is a reference document, because there are lots of different templates floating in the forums, given as solutions and which may or may not work today.
Would it be possible to share it with us so that we better understand some of the decisions that were made regarding PHP-FPM?
This would help us understand what CB is writing where and prevent us from breaking things or opening security holes.
Examples
The team would like to use mod_proxy_fcgi everywhere but they feel it isn't possible because ProxyPassMatch is not available in a Directory directive and because RewriteRule doesn't behave properly. See bugs #, etc.
Virtualhosts are thus using mod_fastgi except for ~user which is using mod_proxy_fcgi
Template: DAtemplates/virtual_host2*.conf
Status: OK
The team has decided to use mod_proxy_fcgi for Web apps because that's what will eventually be used everywhere.
It has been decided to create as many global ProxyPassMatch lines as there are web apps so that applications can be reached via the server's IP.
Template: Not available
Status: OK
In order for PHP scripts to be able to run in /var/www/html, it's possible to add a ProxyPassMatch directive to the server's virtualhost, but for unknown, security, etc. reasons, it is not advised to do so.
Template: CB/configure/ap2/conf/extra/httpd-vhosts.conf
Status: Not implemented
Discussion: forumlink1
The team has decided to create aliases using RewriteRule for reason X
Template: Not available
Status: Not working
Discussion: forumlink2
php-fpm.conf
etc.
We can sometimes guess what is going on and by spending time reading lots of documentation, we can eventually figure it out, but it's much easier if there is a reference document, because there are lots of different templates floating in the forums, given as solutions and which may or may not work today.