學術及資源的交流園地 ^_^

Web Doc Link

 

 

Compile httpd 2.4 on Centos 7

最後更新: 2021-10-04

 

sysrq-trigger

最後更新: 2021-09-30

 

mod_wsgi

最後更新: 2021-09-27

目錄

 

  • mod_wsgi 介紹
  • mod_wsgi 設定
  • py Code
  • Sessions
  • Daemon mode
  • Doc

介紹

wsgi (Web Server Gateway Interface)

mod_wsgi (http://code.google.com/p/modwsgi/)

它與 CGI 有差不多的功能

mod_wsgi 支援常見的兩種 Apache Mode

* single threaded 'prefork'
* multithreaded 'worker'

Performance

written in C code directly against the internal Apache and Python

mod_wsgi 有兩個 mode 行 python

Embedded (similar way to mod_python)(technically perform better)
     within the context of the normal Apache child processes

Daemon ( FASTCGI/SCGI solutions ) (generally be the safest)
    distinct user ensuring that WSGI applications cannot interfere with each other

Python 標準

standard interface between web servers and Python web applications or frameworks:

http://www.python.org/dev/peps/pep-0333/

新的標準是  PEP 3333

RSS feed