Differences and uses between WSGI, CGI, FastCGI, and mod_python in regards to Python?

A part answer to your question, including scgi. What’s the difference between scgi and wsgi? Is there a speed difference between WSGI and FCGI? How Python web frameworks, WSGI and CGI fit together CGI vs FCGI Lazy and not writing it on my own. From the wikipedia: http://en.wikipedia.org/wiki/FastCGI Instead of creating a new process for … Read more

How can I troubleshoot my Perl CGI script?

This answer is intended as a general framework for working through problems with Perl CGI scripts and originally appeared on Perlmonks as Troubleshooting Perl CGI Scripts. It is not a complete guide to every problem that you may encounter, nor a tutorial on bug squashing. It is just the culmination of my experience debugging CGI … Read more

Show a PDF files in users browser via PHP/Perl

I assume you want the PDF to display in the browser, rather than forcing a download. If that is the case, try setting the Content-Disposition header with a value of inline. Also remember that this will also be affected by browser settings – some browsers may be configured to always download PDF files or open … Read more

What are WSGI and CGI in plain English?

From a totally step-back point of view, Blankman, here is my “Intro Page” for Web Server Gateway Interface: PART ONE: WEB SERVERS Web servers serve up responses. They sit around, waiting patiently, and then with no warning at all, suddenly: a client process sends a request. The client process could be a web server, a … Read more

What is Common Gateway Interface (CGI)?

CGI is an interface which tells the webserver how to pass data to and from an application. More specifically, it describes how request information is passed in environment variables (such as request type, remote IP address), how the request body is passed in via standard input, and how the response is passed out via standard … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)