8 More Discussions You Might Find Interesting
1. Web Development
4000 node Botnet derived from PHP superglobal $_SERVER mapped with Google Maps Engine.
https://www.unix.com/members/1-albums112-picture640.png
total ips 54945
unique ips 4000
unique countries 64 (2 Replies)
Discussion started by: Neo
2 Replies
2. Debian
Hi all.
I appologise this is my first post, I will gladly have a further look around to see if this has been posted elsewhere, but so far it has not, or it doesnt quite explain in full what I need. If anyone here can help me out, I would really appreciate this. I want to make sure I do this... (1 Reply)
Discussion started by: Pinkfloyd
1 Replies
3. UNIX for Dummies Questions & Answers
hi
i need somme help to protect directory in debian with user and pass
var/www
thank's (6 Replies)
Discussion started by: azzeddine2005
6 Replies
4. UNIX for Dummies Questions & Answers
I have problem giving user access to his public_html directory.
While when I am logged as root I can access my files by going to
www.myserver.com/file.htmlwhere file.html is actually on this path...
var/www/file.htmlBut when user tries to access his file.html on this path....
~user/file.html it... (10 Replies)
Discussion started by: joker40
10 Replies
5. UNIX for Dummies Questions & Answers
what should be the permissions of the folder var/www in my ubuntu ?
I need it to be safe and at the same time I need ftp users to be able to edit it.
I was wondering if I should create a group with all permissions and add ftp users to this group in unix.
what's the standard way to do it ?... (4 Replies)
Discussion started by: aneuryzma
4 Replies
6. Web Development
Hi, first post. I have no Linux experience. I have an e-friend that set me up a VPS and my website with Apache and FTP access so I could upload my files the way I do it regularly with my shared hosting. The OS in the VPS is Fedora by the way. Now the thing is:
http ://www.mydomain.com presents... (0 Replies)
Discussion started by: JPA
0 Replies
7. UNIX for Advanced & Expert Users
I have several live websites running in the /var/www/XXXX directory. Initially when I did the Debian install I limited the web directory to 6GB. I am now outgrowing that limit. Question is:
Is there a simple way to add space to the web directory???
I'd hate to have to redo the whole... (3 Replies)
Discussion started by: seagonus
3 Replies
8. UNIX for Dummies Questions & Answers
Hello!
My web host has the public_html permission on my account set to 750.
1. Does this setting permit the world to use my submission forms
(contained within contact.html and purchase_order.html)?
2. The "0" entry looks like it blocks the public from conducting all activity
on my site.... (6 Replies)
Discussion started by: Texan
6 Replies
FCGIWRAP(8) System Manager's Manual FCGIWRAP(8)
NAME
fcgiwrap - serve CGI applications over FastCGI
SYNOPSIS
fcgiwrap [OPTIONS]
DESCRIPTION
fcgiwrap is a simple server for running CGI applications over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
servers that may need it).
OPTIONS
-c number
Number of fcgiwrap processes to prefork.
-s socket_url
A URL for the listen socket to bind to. By default fcgiwrap expects a listen socket to be passed on file descriptor 0, matching the
FastCGI convention. The recommended way to deploy fcgiwrap is to run it under a process manager that takes care of opening the
socket. However, for simple configurations and one-off tests this option may be used. Valid socket_urls include
unix:/path/to/unix/socket, tcp:dot.ted.qu.ad:port and tcp6:[ipv6_addr]:port.
-h Show a help message and exit.
ENVIRONMENT
When running, fcgiwrap evaluates these environment variables set by the web server calling an fcgi-script. The variables DOCUMENT_ROOT and
SCRIPT_NAME will be concatenated and the resulting executable run as CGI script wrapped as FastCGI, with the remainder after the script
name available as PATH_INFO. To disable PATH_INFO mangling, set up your web server to pass SCRIPT_FILENAME, which should contain the com-
plete path to the script. Then PATH_INFO will not be modified.
DOCUMENT_ROOT
directory which the script resides in
SCRIPT_NAME
actual executable
SCRIPT_FILENAME
complete path to CGI script. When set, overrides DOCUMENT_ROOT and SCRIPT_NAME
EXAMPLE
The fastest way to see fcgiwrap do something is to launch it at the command line like this:
fcgiwrap -s unix:/var/run/fcgiwrap.sock
Apart from potential permission problems etc., it should be ready to accept FastCGI requests and run CGI scripts.
Most probably you will want to launch fcgiwrap by spawn-fcgi using a configuration like this:
FCGI_SOCKET=/var/run/fcgiwrap.sock
FCGI_PROGRAM=/usr/sbin/fcgiwrap
FCGI_USER=nginx
FCGI_GROUP=www
FCGI_EXTRA_OPTIONS="-M 0700"
ALLOWED_ENV="PATH"
Nginx can be configured to have the arbitrary CGI cgit run as FastCGI as follows:
location / {
fastcgi_param DOCUMENT_ROOT /var/www/localhost/htdocs/cgit/;
fastcgi_param SCRIPT_NAME cgit;
fastcgi_pass unix:/var/run/fastcgi.sock;
}
AUTHOR
fcgiwrap was written by Grzegorz Nosek <root@localdomain.pl> with contributions by W-Mark Kubacki <wmark@hurrikane.de>.
This manual page was written by Jordi Mallach <jordi@debian.org> (with contributions by Grzegorz Nosek) for the Debian project (and may be
used by others).
Jun 3, 2010 FCGIWRAP(8)