Displaying 10 results from an estimated 10 matches for "fastcgi_param".
2014 Oct 29
3
Right way to install phpMyAdmin through Nginx and PHP-FPM
...location ~ /\.ht {
deny all;
}
location ~ /(libraries|setup/frames|setup/libs) {
deny all;
return 404;
}
location ~ \.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $root$fastcgi_script_name;
}
access_log /var/log/nginx/phpmyadmin/access.log;
error_log /var/log/nginx/phpmyad...
2012 Dec 06
2
pasenger does not start puppet master under nginx
...#}
# pass the PHP scripts to FastCGI server listening on
127.0.0.1:9000
#
location ~ \.php$ {
root html;
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
include fastcgi_params;
}
# deny access to .htaccess files, if Apache''s document root
# concurs with nginx...
2019 Oct 31
4
PHP FPM issue
...--
> > Thomas Stephen Lee
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > https://lists.centos.org/mailman/listinfo/centos
>
> The simplest is to conditionally set PATH_INFO if it's not empty:
>
> fastcgi_param PATH_INFO $fastcgi_path_info if_not_empty;
>
> Another option is to explicitly test whether the fastcgi script path
> exists :
>
> if (!-f $document_root$fastcgi_script_name) {
> return 404;
> }
>
> --
> Marius
>
> _______________...
2015 Jun 01
0
nginx conflicting server name ignored warning
...is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
And as far as I can tell I only have one server_name directive in the whole
config:
[root at aoadbld00032lb nginx]# grep -r server_name *
conf.d/kibana.conf: server_name aoadbld00032lb.company.com
logs.pcf.company.com;
fastcgi_params:fastcgi_param SERVER_NAME $server_name;
scgi_params:scgi_param SERVER_NAME $server_name;
uwsgi_params:uwsgi_param SERVER_NAME $server_name;
It's more of an annoyance than any kind of real problem, as far as I can
tell. Because the site I'm trying to put up with it...
2019 Oct 31
4
PHP FPM issue
Hi,
what is the workaround for this?
https://www.nginx.com/blog/php-fpm-cve-2019-11043-vulnerability-nginx/
in either CentOS 7 or 8 ?
thanks
---
Thomas Stephen Lee
2015 May 30
3
Project Management Software
I have a need to use a project management software package under Centos 6.6 and have started looking at ProjectLibre which is a Java package.
Unfortunately it seems to have shortcomings when it comes to following up projects and my current understanding is that it falls short of Microsoft Project 2010, i.e., a previous version.
Does anyone have experience with this type of software and what
2019 Oct 31
0
PHP FPM issue
...entOS 7 or 8 ?
>
> thanks
>
> ---
> Thomas Stephen Lee
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
The simplest is to conditionally set PATH_INFO if it's not empty:
fastcgi_param PATH_INFO $fastcgi_path_info if_not_empty;
Another option is to explicitly test whether the fastcgi script path
exists :
if (!-f $document_root$fastcgi_script_name) {
??????????????????????????????? return 404;
}
--
Marius
2019 Oct 31
0
PHP FPM issue
...Stephen Lee
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS at centos.org
>>> https://lists.centos.org/mailman/listinfo/centos
>> The simplest is to conditionally set PATH_INFO if it's not empty:
>>
>> fastcgi_param PATH_INFO $fastcgi_path_info if_not_empty;
>>
>> Another option is to explicitly test whether the fastcgi script path
>> exists :
>>
>> if (!-f $document_root$fastcgi_script_name) {
>> return 404;
>> }
>>
>> --...
2019 Nov 01
1
PHP FPM issue
...7 or 8 ?
>
> thanks
>
> ---
> Thomas Stephen Lee
> _______________________________________________
> CentOS mailing listCentOS at centos.orghttps://lists.centos.org/mailman/listinfo/centos
>
> The simplest is to conditionally set PATH_INFO if it's not empty:
>
> fastcgi_param PATH_INFO $fastcgi_path_info if_not_empty;
>
> Another option is to explicitly test whether the fastcgi script path
> exists :
>
> if (!-f $document_root$fastcgi_script_name) {
> return 404;
> }
>
> --
> Marius
>
> _______________...
2006 Aug 25
0
nginx+fastcgi+rails
...e engrish ;) ) on my wiki [
http://zh.stikipad.com/notes/show/nginx ].
And my question: have somebody working config for nginx+fastcgi+rails
(dispatch.fcgi)?
Something like:
-------------- >8 --------------
location / {
fastcgi_pass localhost:9000;
fastcgi_index dispatch.fcgi;
fastcgi_param SCRIPT_FILENAME /home/rails/public/$fastcgi_script_name;
}
-------------- >8 --------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email...