6 More Discussions You Might Find Interesting
1. AIX
Hi,
I need to increase a filesystem from around 1TB to 15TB on a running AIX7.1 TSM server.
This will be by far the largest single filesystem increase I've ever performed, or even heard of.
The volume group already has enough disk available (in fact the filesystem was always intended to be... (10 Replies)
Discussion started by: alanp36
10 Replies
2. AIX
How many Core in AIX6 & AIX7 ..
Please guys I want commands to know how many Core in these two different version please i need exact command ? (2 Replies)
Discussion started by: top.level
2 Replies
3. UNIX for Dummies Questions & Answers
I'd put together a zshrc for use on Linux & AIX 5/6 at another shop that worked fine, but when I tried to put it on here it messes up the colors for some reason I can't understand.
I used Phil's ZSH prompt for starters, and everything worked before, and still does on Linux, but isn't working on... (0 Replies)
Discussion started by: Vryali
0 Replies
4. AIX
Hi,
anyone know if Oracle Database 10g is AIX 7 certified???
thanks in advance.
Regards.
Mario (2 Replies)
Discussion started by: Zio Bill
2 Replies
5. AIX
Hi,
im new here and i have too admit, fairly new not to Unix in general but to AIX in specific.
I have here a DS3512 SAN, connected by Fiber Channel to a Power 720 Express, running AIX 7.1
The DS3512 has been running for some time now with 6 drives configures as 3 Raid1-Arrays, with no... (0 Replies)
Discussion started by: cricharz
0 Replies
6. Programming
Hello,
I am strugglign with the following fastcgi C++ program with access to a postgresql database through the SOCI library. All the components work individually properlyy but the combination does not. The program compiles fine but the Apapche 2.2 error log files contains:
FastCGI: comm... (0 Replies)
Discussion started by: JCR
0 Replies
LEARN ABOUT DEBIAN
jifty::script::fastcgi
Jifty::Script::FastCGI(3pm) User Contributed Perl Documentation Jifty::Script::FastCGI(3pm)
NAME
Jifty::Script::FastCGI - A FastCGI server for your Jifty application
SYNOPSIS
AddHandler fastcgi-script fcgi
FastCgiServer /path/to/your/jifty/app/bin/jifty -initial-env JIFTY_COMMAND=fastcgi
Options:
--maxrequests maximum number of requests per process
--help brief help message
--man full documentation
DESCRIPTION
FastCGI entry point for your Jifty application
options
--maxrequests
Set maximum number of requests per process. Read also --man.
--help Print a brief help message and exits.
--man Prints the manual page and exits.
DESCRIPTION
When you're ready to move up to something that can handle the increasing load your new world-changing application is generating, you'll
need something a bit heavier-duty than the pure-perl Jifty standalone server. "FastCGI" is what you're looking for.
If you have MaxRequests options under FastCGI in your config.yml, or command-line option "--maxrequests=N" assigned, the FastCGI process
will exit after serving N requests.
SERVER CONFIGURATIONS
Apache + mod_fastcgi
# These two lines are FastCGI-specific; skip them to run in vanilla CGI mode
AddHandler fastcgi-script fcgi
FastCgiServer /path/to/your/jifty/app/bin/jifty -initial-env JIFTY_COMMAND=fastcgi
DocumentRoot /path/to/your/jifty/app/share/web/templates
ScriptAlias / /path/to/your/jifty/app/bin/jifty/
Apache + mod_fcgid + mod_rewrite
An alternative to Apache mod_fastcgi is to use mod_fcgid with mod_rewrite. If you use mod_fcgid and mod_rewrite, you can use this in your
Apache configuration instead:
DocumentRoot /path/to/your/jifty/app/share/web/templates
ScriptAlias /cgi-bin /path/to/your/jifty/app/bin
DefaultInitEnv JIFTY_COMMAND fastcgi
<Directory /path/to/your/jifty/app/bin>
Options ExecCGI
SetHandler fcgid-script
</Directory>
<Directory /path/to/your/jifty/app/share/web/templates>
RewriteEngine on
RewriteRule ^$ index.html [QSA]
RewriteRule ^(.*)$ /cgi-bin/jifty/$1 [QSA,L]
</Directory>
It may be possible to do this without using mod_rewrite.
Lighttpd (<http://www.lighttpd.net/>)
Version 1.4.23 or newer is recommended, and you may adapt this config:
server.modules = ( "mod_fastcgi" )
server.document-root = "/path/to/your/jifty/app/share/web/templates"
fastcgi.server = (
"/" => (
"your_jifty_app" => (
"socket" => "/tmp/your_jifty_app.socket",
"check-local" => "disable",
"fix-root-scriptname" => "enable",
"bin-path" => "/path/to/your/jifty/app/bin/jifty",
"bin-environment" => ( "JIFTY_COMMAND" => "fastcgi" ),
"min-procs" => 1,
"max-procs" => 5,
"max-load-per-proc" => 1,
"idle-timeout" => 20,
)
)
)
Versions before 1.4.23 will work, but you should read Plack::Handler::FCGI's lighttpd documentation
<http://search.cpan.org/dist/Plack/lib/Plack/Handler/FCGI.pm#lighttpd> for how to configure your server.
More information
Since this uses Plack::Handler::FCGI, you might also want to read its documentation on webserver configurations
<http://search.cpan.org/dist/Plack/lib/Plack/Handler/FCGI.pm#WEB_SERVER_CONFIGURATIONS>.
METHODS
run
Creates a new FastCGI process.
perl v5.14.2 2011-01-25 Jifty::Script::FastCGI(3pm)