Skip to main content

Questions tagged [fastcgi]

1 vote
1 answer
5k views

how to make Nginx use home directory as root

I have set up a local server on my laptop for web development and to check the website I'm working on I should have my code base in /var/www/example.domain which is not so convenient, I want Nginx to ...
Amirreza's user avatar
  • 203
2 votes
2 answers
514 views

Asynchronous Child Process in FastCGI Script

Suppose that I want my server to sleep on any HTTP request to the path /sleep (i.e. http://hostname/sleep), but also send a complete response (HTTP 200) before sleeping. Using nginx with FastCGI, I ...
palswim's user avatar
  • 5,657
4 votes
1 answer
4k views

problem with default fcgiwrap socket access rights and nginx (Alpine Linux)

I want to run git-daemon (git-http-backend) in Alpine Linux using nginx and fcgiwrap. However, the default installation of nginx and fcgiwrap leads to a 502 Bad Gateway error. Apparently the group ...
Rainer Schwarze's user avatar
0 votes
0 answers
242 views

Can not access PHP-FPM site

Using OpenSUSE v15.2, Apache. Installed PHP-FPM with zypper. Followed instructions on this site: https://en.opensuse.org/SDB:Apache_FastCGI_and_PHP-FPM_configuration I restarted Apache and PHP-FPM. ...
klor's user avatar
  • 426
1 vote
1 answer
703 views

fastcgi php nginx errorlog messed up

I have a strange problem, the errorlog of my nginx server is somehow messed up: PHP errors seem to be all written in one line and repeating itself recursively. This way the llog grows a few GB within ...
rubo77's user avatar
  • 30.6k
0 votes
1 answer
156 views

If "-f %{REQUEST_FILENAME}" what mean's - fcgi

I configures my apache + php-fpm + mod_proxy_fcgi server and I can't understand the line in the two tutorials that don't explain why. This is not found in any other tutorial. <FilesMatch "\.php$"&...
varavell's user avatar
2 votes
1 answer
395 views

Nginx version agnostic php-fpm configuration

When I create a new webapp conf in Nginx I use the following template: server { root /var/www/html/${domain}; server_name ${domain} www.${domain}; location ~* \.(jpg|jpeg|png|gif|ico|css|...
Arcticooling's user avatar
  • 4,513
3 votes
2 answers
3k views

Nginx on FreeBSD: fcgiwrap.sock permission denied

I'm trying to setup nginx and cgit on FreeBSD but nginx can't access /var/run/fcgiwrap/fcgiwrap.sock. In my /etc/rc.conf I already set fcgiwrap_user="www", and www is also the user nginx runs as. ...
Jessica Nowak's user avatar
1 vote
1 answer
213 views

Building dynamically driven web sites with Mason (Perl) with httpd on OpenBSD current

Is it possible to build dynamically driven web sites with Mason (Perl) with httpd on OpenBSD current? See The Mason Book and the introduction to OpenBSD's httpd.
Vim's user avatar
  • 229
2 votes
0 answers
886 views

Nginx & FastCGI Buffering

I want to ask few questions regarding nginx and fastcgi buffering that i can't find an answer for. 1) Is the fastcgi_buffering values / request or for entire nginx? 2) Assuming that i want to have ...
user3393046's user avatar
0 votes
1 answer
258 views

What Are The Advantages of Using A Dedicated Web Server? [closed]

To elaborate, what are the advantages of using a dedicated web server (i.e. lighttpd or nginx) and running programs (i.e. Swift / Python) as directed by the web server? Specifically, how does that ...
Brandon Bradley's user avatar
2 votes
2 answers
3k views

Can't get Perl FastCGI script to run on Apache Server: Error 500

I'm trying to run an Apache server that executes some scripts over fast CGI, but I can't figure out for the life of me how to actually get it to work. My problem in particular is the "Error 500: End ...
elpato's user avatar
  • 145
1 vote
1 answer
3k views

How to configure which user fcgiwrap runs as on FreeBSD?

I have Redmine/Git/nginx/fcgiwrap running in a jail on FreeBSD 9.3 for (potentially) authenticated Git commits over HTTP/S. Everything works until I restart the jail. In order for a commit to work I ...
Samuel Harmer's user avatar
1 vote
1 answer
733 views

lighttpd2 and php under fast-cgi returns 403 "Permission denied"

lighttpd2 is under development but it's faar enough to where i want to start using it. I've overcome the hurdle of installing it and getting vhost etc working. PHP 5.6.6 (cgi-fcgi) (built: Feb 20 2015 ...
Torxed's user avatar
  • 3,717
1 vote
1 answer
769 views

goaccess won't run when called from CGI script

I'm trying to make a CGI script (for nginx) that outputs an html page containing the usage statistics for my server. I'm using goaccess 0.7.1 and CentOS 5 x86. I've configured nginx to run my bash ...
AJ Richardson's user avatar

15 30 50 per page