Questions tagged [psgi]

PSGI (Perl Web Server Gateway Interface) is an interface between web servers and Perl-based web applications and frameworks that allows writing portable applications that can be run as standalone servers or using CGI, FastCGI, mod_perl, etc.

PSGI (Perl Web Server Gateway Interface) is an interface between web servers and Perl-based web applications and frameworks that allows writing portable applications that can be run as standalone servers or using CGI, FastCGI, mod_perl, etc. (from: Wikipedia)

This is an example PSGI application:

my $app = sub {
    return [200, ['Content-Type' => 'text/plain'], ["Hello, World!\n"]];
}

PSGI is inspired by Python's (Web Server Gateway Interface), Ruby's and JSGI for JavaScript.

80 questions
0
votes
1 answer

Perl run PSGI on linux centos and apache shared hosting

I have a psgi test application on a linux centos with cpanel shared hosting. How can I call it under PSGI protocol like: http://domain.com/app.psgi I mean how to enable .psgi to run under PSGI protocol. I want to be able to run any .psgi…
daliaessam
  • 1,636
  • 2
  • 21
  • 43
0
votes
1 answer

PSGI, LWP::UserAgent & PayPal IPN

I have been trying for some time to get a simple PayPal IPN module working but keep getting a 400 Bad Request error from LWP::UserAgent. I am not sure why this is happening. PayPal pings me fine (I'm using the IPN simulator) and I can see the…
MadHacker
  • 608
  • 5
  • 18
0
votes
2 answers

Apache-to-PSGI proxy over a Unix domain socket

We have many (isolated) installations of a PSGI app that run on the same machine and thus require their PSGI servers to run on unique ports. This is less than ideal from a resource/management perspective, but it also requires the (yet-unmeasured…
internet user
  • 103
  • 1
  • 5
0
votes
1 answer

How to proxy a starman request to Apache?

I use starman for my webapp. Apache web server listens on port 8080. I want to rewrite some request like '/request' to this Apache web-server in starman. I try to find some pm, but I found few examples to help me.
AilesFX
  • 81
  • 4
-3
votes
2 answers

How to server a PSGI application with many concurrent connections

How can a PSGI application be served with many concurrent connections? I have tried event-based and preforking webservers but the number of concurrent connections seems to be limited by the number of worker processes. I've heard that for instance…
Jakob
  • 3,570
  • 3
  • 36
  • 49
1 2 3 4 5
6