We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [fastcgi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Godaddy Windows + PHP 7.3 + Upload Files

I have a problem with the godaddy hosting, they say that everything it's working fine, but i can't make the uploads to work. First, i have two websites, done in php, everything was working fine until ...
1
vote
1answer
81 views

Configure Lighttpd to run python script using fastcgi

I have a lighttpd server that I want to run a python application using fastcgi. I followed the example on the lighty homepage, but I can't seem to get lighty to execute the python script. This is my ...
0
votes
0answers
37 views

How can I implement two factor authentication with lighttpd?

I have a web interface consisting mostly of bash scripts that is being served by lighttpd. It currently uses the mod_auth server module to authenticate users with the htdigest method. If I understand ...
1
vote
0answers
70 views

Phython - Unable to start lighttpd (Fastcgi) - Raspbian Stretch

I am trying to build DIY project, based on the instructions from https://github.com/nathanpjones/GaragePi I was able to successfully have it installed. But when I restarted, I am not able to access ...
1
vote
0answers
193 views

spawn-fcgi -F other child processes not being used

I am running a Fastcgi app written in c++ with Nginx and it is working pretty well. The app starts via spawn-fcgi with 4 child processes using the following command: spawn-fcgi -f ./fcgiapp -p 9000 -...
0
votes
0answers
575 views

Setup PHP-FPM on a LinuxMint

I am currently trying to install PHP-FPM on a Linux Mint 18 (Sarah). I have been trying to get this to work for hours if not days, to no avail. The PHP-FPM does not seem to be called since I always ...
1
vote
0answers
274 views

Set up Bugzilla on IIS 10 with FastCGI

I'm a bit of an IIS noob so apologies if this is vague. I've successfully set up Bugzilla on IIS 10 but it's pretty slow - a few seconds to load each page even on the same local machine. As I ...
0
votes
1answer
159 views

Why CGi scripts do not read headers from STDIN

Following recent vulnerabilities related to CGI, I read a little about it and have a question. Please note that I've never used CGI myself and that I don't code in PHP or Perl, so there maybe ...
1
vote
1answer
479 views

Is it possible to change fastCGI activityTimeout via PHP on IIS?

I'm curious if it's possible to change activityTimeout via PHP when I'm using fastCGI on IIS. I know that I can change PHP.ini values via ini_set(), but I'm not able to change this one. So is it even ...
1
vote
1answer
100 views

In which protocol web server talks to CGI?

I'm wondering what protocol is used for communication between web server, e.g. Apache, Nginx and CGI, e.g. FCGI, UWSGI?
0
votes
1answer
495 views

ubuntu 14.04 with froxlor running on php-fpm using letsencrypt wont work with global acme location config

Here is my problem. To use letsencrypt acme on every domain I add include /etc/nginx/acme.conf in every vhost config: acme.conf location /.well-known/acme-challenge { alias /var/www/froxlor/....
2
votes
2answers
6k views

Install libapache2-mod-fastcgi to Debian 8 Jessie

For supporting FastCGI feature into Apache web-server need to install libapache2-mod-fastcgi system package. The package is unavailable in default sources. How to install this package into Debian 8 ...
0
votes
1answer
407 views

Nginx serving C++ cgi script: response is binary format

I am trying to run C++ CGI script on nginx. I am using FCGIWrap with script from nginx website. The program code is like this: #include <iostream> using namespace std; int main () { cout &...
0
votes
1answer
198 views

nginx and mailman: forward to listinfo by default

I struggle now for quite a bit with the problem to get mailman and nginx running. Everything works fine but if the user vists just the domain, i get a HTTP 502 error. How can i say nginx that it ...
3
votes
2answers
5k views

Nginx & UserDir & PHP

I have a fairly simple nginx/1.4.7 installation (from Debian/unstable) and I'm trying to get PHP scripts to run inside a UserDir. server { listen 8083; ...
3
votes
1answer
1k views

Hack/HHVM with Apache 2.4 results in HTTP 503 and unlimited loading

I've tried to set up an Apache 2.4 on Debian Wheezy to make calls to Hack/HHVM using mod_proxy / mod_proxy_fcgi according to this article. The installation of HHVM was through the APT package manager....
1
vote
1answer
2k views

How to resume nginx caching without restarting nginx after purge

I'm using fastcgi cache with nginx 1.4.4 on fedora and it works great until I clear the cache directory with: find /var/nginx/cache -type f -exec rm -f {} \; Thereafter nginx will not resume caching ...
0
votes
0answers
46 views

FastCGI apache mod making HTTPS fail

We hired somebody last month to install FastCGI in place of suphp, so that we could install magento multisites on our server. We have monitors set to watch some of our websites on siteuptime.com, and ...
1
vote
1answer
6k views

404 not found error for JavaScript files when accessing web page on localhost

The page loads up fine, but console shows a 404 not found error for JavaScript files. I have verified that the code contains the correct JavaScript file name. Any ideas? The JavaScript file is loaded ...
1
vote
1answer
2k views

nginx + cgi (c++ programs)

I am stuck setting my nginx to work with custom cgi programs (using xmlrpc-c library). I am trying with fcgiwrap/spawn-fcgi like this: $ spawn-fcgi -f /usr/bin/fcgiwrap -s /tmp/fcgi.sock Important ...
0
votes
1answer
866 views

Installing mod_fastcgi on Apache 2.4.4?

I'm trying to set up a specific environment and one of the requirements for it is the FastCGI module for Apache. However, to the best of my knowledge, httpd and some other files are deprecated as of 2....
1
vote
2answers
1k views

fcgiwrap listening to a unix socket file: how to change file permissions

I have a web server (nginx) and a CGI application (gitweb) that is ran with fcgiwrap to enable Fast CGI access to it. I want the Fast CGI protocol to take place over a unix socket file. To start the ...
2
votes
1answer
14k views

Setting up Lighttpd and FastCGI for my own web app?

I'm running Gentoo Linux, and I'm trying to get Lighttpd+PHP+FastCGI working. I discovered that Lighttpd doesn't have a FastCGI process manager. So, you're supposed to use spawn-fcgi. I have Lighttpd ...
0
votes
1answer
1k views

Lighttpd + PHP permission problems on Fedora

I'm trying to set up a Lighttpd webserver with PHP support. I have basically followed the instructions in this article, but after restarting the server (though I did not receive an error message and ...
0
votes
1answer
373 views

Installing fastcgi so

Following the install instructions I start with: apxs -o mod_fastcgi.so -c *.c which produces .o, .la, .lo, .slo but no .so, so the next step of: apxs -i -a -n fastcgi mod_fastcgi.so fails. I ...
0
votes
1answer
923 views

The lighttpd+Python equivalent of Apache+PHP+FastCGI+suEXEC (or: lighttpd FastCGI-executing Python scripts with the permission of the owner)

It's been years since I last had anything to do with web servers. The last time, I found that Apache along with FastCGI (actually mod_fcgid) and suEXEC gave me a seemingly perfect way to handle PHP; ...
1
vote
0answers
446 views

PHP include and require statements fails after a number of executions

I'm having a very strange issue, where PHP include and require statements fails after a number of executions. The site is running on IIS 7/Windows 2008 R2 and the site's content is stored in a remote ...
0
votes
1answer
1k views

linux file permissions for fastcgi socket file and containing folder

I am trying to set up mod_fcgid on my server. Part of the requirement is that Apache needs to create a socket file for mod_fcgid. I specified the folder for Apache to write the socket data to: /...
18
votes
2answers
25k views

What's the difference between “mod_fastcgi” and “mod_fcgid”?

I'm writing a fast CGI application to use with my Apache 2.2 (prefork) on Ubuntu Linux. I need to choose between mod_fastcgi and mod_fcgid, but I can't find any resource that documents the difference ...