Questions tagged [fastcgi]

FastCGI is an open interface web servers can use to execute applications in a secure and isolated manner.

FastCGI is an open interface web servers can use to run applications as separate isolated processes. It is an enhancement of the original NCSA CGI interface specification, with a range of improvements. The primary improvement over the standard CGI approach offered by FastCGI is performance, hence the name.

FastCGI is supported by a broad range of Web Servers (such as Apache, nginx, lighttpd).

730 questions
0
votes
1 answer

NGINX / fascgi-mono-server4 - Multiple sites

Here is my /etc/nginx/sites-available/default: # Sample site server { listen 80; ## listen for ipv4 server_name web; access_log /var/log/nginx/web.access.log; location / { root /srv/www/web/; …
Alfero Chingono
  • 255
  • 1
  • 3
  • 15
0
votes
2 answers

lighttpd: backend is overloaded

I have a high traffic site I'm trying to maintain, but from time to time at spikes get stuck with: (mod_fastcgi.c.2900) backend is overloaded; we'll disable it for 2 seconds and send the request to another backend instead: reconnects: 0 load:…
Aaron A
  • 239
  • 2
  • 14
0
votes
1 answer

fastcgi errors in log (ubuntu)

I have this in my /var/log/apache2/error.log file : [Thu Dec 20 16:10:37 2012] [notice] caught SIGTERM, shutting down [Thu Dec 20 16:10:37 2012] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0) [Thu Dec 20 16:10:37 2012]…
Sammy
  • 101
  • 2
0
votes
1 answer

310 too many redirects after moving drupal site to fast-cgi

Here is trouble: When i follow this link - http://znak.net.ua it rewrites to http://znak.net.ua/ru/ru/ru/ru/ru/ and i got Error 310 (net::ERR_TOO_MANY_REDIRECTS) This happend when i start using fast-cgi insteed of mod_php Here is my…
Jaels
  • 67
  • 1
  • 11
0
votes
1 answer

Puzzle: php code get displayed when turn on https

When I try to set up https (let nginx listen on 443, with the ssl settings) and access my page, the quite surprising thing happens that I see my php code being displayed. I see this in the nginx config fastcgi_pass 127.0.0.1:9000; Does it means…
StCee
  • 241
  • 3
  • 14
0
votes
1 answer

Internal Server Error on OSQA install using fastcgi on Hostgator

Before start, I have no Python experience or WSGI or FastCGI for that matter, but Iam trying to take a stab at installing OSQA on a shared hosting account at Hostgator. So far, what I have done is: Installed markdown, and html5lib usin: pip…
gentrobot
  • 169
  • 2
  • 10
0
votes
2 answers

stopping fastcgi_cache for php-enabled custom error page

Since enabling the fastcgi_cache on my nginx server, my php-enabled custom error page has suddenly stopped working and I'm getting the internal 404 message instead. In nginx.conf: fastcgi_cache_path /var/lib/nginx/fastcgicache levels=1:2…
Ian
  • 251
  • 2
  • 10
0
votes
2 answers

How to increase simultaneous requests for LIGHTTPD

I have Red Hat 6 and I've installed Lighttpd + MySQL and at the moment in getting 500 internal server error, logs shows that I have arround 2000 requests / sec, while as soon as requests drop below 1000 websites starts to load again. I wonder how…
ProDraz
  • 231
  • 1
  • 4
  • 10
0
votes
1 answer

Separate domains vs. one domain with alias-domains

I have set up a LAMP-server using ISPConfig 3 for the administration. PHP is running over Fast-CGI. I have several domains, like my_site.com, my_site.net and my_site.org, but they all point to the same application/website. Each domain has its own…
Quasdunk
  • 179
  • 1
  • 3
  • 10
0
votes
1 answer

File upload folder permission fastCGI - How to make it writeable?

I am using centos 5.7 with cPanel WHM running fastcgi/suEXEC I am trying to make a particular folder writable to allow a script to upload files but seem to be having problems. The folder (and all recursive folders) I want to be writable…
user6595
  • 119
  • 2
  • 9
0
votes
1 answer

mod_fcgi produces random 500 Errors

php 5.4.7 via mod_fcgi when I run the site sometimes it works, sometimes it crashed with 500 Internal Error, this is what I see in error.log everytime I run the script [Mon Sep 24 18:50:43 2012] [warn] [client 68.231.194.198] (104)Connection reset…
DmitrySemenov
  • 835
  • 2
  • 15
  • 27
0
votes
1 answer

redhat Apache fast-cgi selinux permissions

My apache installation is running php as fastcgi, and the virtual hosts are pointing to /home//public_html. and the fastcgi are home//cgi-bin/php.fcgi the public_html setup with selinux was: /usr/sbin/setsebool -P httpd_enable_homedirs 1 chcon…
Alejo JM
  • 204
  • 3
  • 9
0
votes
3 answers

Perl not working with Nginx via fastcgi, cannot decipher error logs

Im running CentOS 6.2, Nginx 1.2.3 following these Linode Instructions to get Perl to work with Nginx I've done everything upto the point of testing an actual Perl file. When I do this the browser says: The page you are looking for is temporarily…
ProfessionalAmateur
  • 937
  • 6
  • 17
  • 27
0
votes
3 answers

Apache - suExec - FastCGI - PHP = security issue

I installed Apache with FastCGI (mod_fastcgi), suExec and PHP on my local development box. Working perfectly, except one thing. Let's say I have two users: user1 - /home/user1/public_html user2 - /home/user2/public_html I discovered a serious…
Jari V.
  • 13
  • 1
  • 3
0
votes
1 answer

eAccelerator with two versions of PHP through FastCGI

Alright so I will outline how everything is setup and running for me on my dedicated box. I have everything working accept eAccelerator only works on one of my PHP applications. Apache2 I have Apache2 setup and running with virtualhosts. Apache…
nicholas.alipaz
  • 155
  • 2
  • 7