Re: httpd: single FastCGI script handling all requests

2018-03-07 Thread Diogo Galvao
On 03/06/18 16:39, Diogo Galvao wrote: The following patch makes it possible to handle all FastCGI requests with a single script so it can route clean URLs itself. Was it already possible some other way? It's already possible to achieve the same result with the root option: server

Re: httpd: single FastCGI script handling all requests

2018-03-07 Thread Diogo Galvao
On 03/07/18 05:36, Hiltjo Posthuma wrote: Hi, I wonder if it can't be done simpler with some wrapper program/script that sets $SCRIPT_FILENAME to your router PHP script beforehand? It it would then it would require no changes to httpd and be more useful in other cases aswell. Hi. Thanks

Re: httpd: single FastCGI script handling all requests

2018-03-07 Thread Hiltjo Posthuma
On Tue, Mar 06, 2018 at 04:39:04PM -0300, Diogo Galvao wrote: > The following patch makes it possible to handle all FastCGI requests > with a single script so it can route clean URLs itself. > > Was it already possible some other way? > > And, regardless of this patch, is it even a feature you'd

httpd: single FastCGI script handling all requests

2018-03-06 Thread Diogo Galvao
The following patch makes it possible to handle all FastCGI requests with a single script so it can route clean URLs itself. Was it already possible some other way? And, regardless of this patch, is it even a feature you'd like to see in base? Any suggestion for a better implementation?