Re: [users@httpd] proxy_fcgi and PHP-FPM: error pages and config syntax

2012-02-22 Thread Jan Engelhardt
On Wednesday 2012-02-22 17:56, Mark Montague wrote: > RewriteRule \.php$ > proxy:fcgi://localhost:8002/%{DOCUMENT_ROOT}/%{SCRIPT_FILENAME} > RewriteRule ^/?(.*\.php)$ fcgi://127.0.0.1:9003/www/wp3/wordpress/$1 [P,L] >> >> NB: When using fcgi://etc. or proxy:fcgi://etc. as substitu

Re: [users@httpd] proxy_fcgi and PHP-FPM: error pages and config syntax

2012-02-22 Thread Jan Engelhardt
On Wednesday 2012-02-22 17:38, Jan Engelhardt wrote: >>> >>> RewriteEngine On >>> RewriteRule \.php$ >>> proxy:fcgi://localhost:8002/%{DOCUMENT_ROOT}/%{SCRIPT_FILENAME} >>> >>> I share the dismay you might be expressing at seeing that. Is th

Re: [users@httpd] proxy_fcgi and PHP-FPM: error pages and config syntax

2012-02-22 Thread Jan Engelhardt
On Wednesday 2012-02-22 15:40, Mark Montague wrote: > On February 22, 2012 6:10 , Jan Engelhardt wrote: >> >> RewriteEngine On >> RewriteRule \.php$ >> proxy:fcgi://localhost:8002/%{DOCUMENT_ROOT}/%{SCRIPT_FILENAME} >> >> I share the dismay you might b

[users@httpd] proxy_fcgi and PHP-FPM: error pages and config syntax

2012-02-22 Thread Jan Engelhardt
Apache 2.3/2.4 has a new "mod_proxy_fcgi" module. For fun (and maybe, profit), I was experimenting in using proxy_fcgi in conjunction with PHP-FPM instead of mod_php5 for execution of PHP scripts. The first issue that arises is that error page generation is completely left to PHP-FPM. Since FP

Re: [EMAIL PROTECTED] MultiViews on PHP files not working

2007-10-28 Thread Jan Engelhardt
On Oct 28 2007 14:16, Joshua Slive wrote: >On 10/27/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: >> Hi, >> >> >> .php files are skipped when mod_negotiation looks for files. > >This is just a guess, but perhaps you are using AddType rather than >AddHand

[EMAIL PROTECTED] MultiViews on PHP files not working

2007-10-27 Thread Jan Engelhardt
Hi, .php files are skipped when mod_negotiation looks for files. Nailed it down to around the while (apr_dir_read(&dirent, APR_FINFO_DIRENT, dirp) == APR_SUCCESS) { loop in mod_negotation.c:read_types_multi(). Going to http://foo.bar/dead/ gives the following after adding printfs: (/dead.ph

Re: [EMAIL PROTECTED] Per-user CGI does not work

2005-09-14 Thread Jan Engelhardt
>On 9/14/05, Jan Engelhardt <[EMAIL PROTECTED]> wrote: >> >> in mod_userdir.conf (Apache 2.0.53) as the help page for mod_userdir says to >> enable per-user CGI programs. However, when I try to open up a sample prog, I >> always get error 500. > >And what

[EMAIL PROTECTED] Per-user CGI does not work

2005-09-14 Thread Jan Engelhardt
< CGI says: alive EOT It does work when I put it in /var/www/main.vhost/cgi-bin/, and yes, it is chmod 755'ed. Is there some option I forgot? Any help is appreciated, thanks. Jan En