Skip to content
/ wsgi-info Public

Output diagnostic information about a mod_wsgi environment

License

Notifications You must be signed in to change notification settings

czep/wsgi-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

wsgi-info.wsgi

Author: Scott Czepiel <czep.net>

Output diagnostic information about a mod_wsgi request environment
in the style of php's phpinfo() function.

To install, place the file in a suitable location for wsgi scripts.
Typically, this would be the parent folder of DOCUMENT_ROOT.  Here,
I assume /var/www/wsgi-scripts:

Include the following in httpd.conf:
WSGIScriptAlias /wsgi-info /var/www/wsgi-scripts/wsgi-info.wsgi

<Directory /var/www/wsgi-scripts>
    Require all granted
</Directory>

Also be sure to read about the WSGIDaemonProcess and WSGIProcessGroup
directives for deploying wsgi scripts in daemon mode.

Although primarily intended to be deployed as a mod_wsgi application,
this script can also be run from the command line:
$ python wsgi-info.wsgi

About

Output diagnostic information about a mod_wsgi environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages