intTypePromotion=1

Web to py enterprise web framework - p 32

Chia sẻ: Yukogaru Yukogaru | Ngày: | Loại File: PDF | Số trang:10

0
43
lượt xem
3
download

Web to py enterprise web framework - p 32

Mô tả tài liệu
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

APACHE2 AND MOD PYTHON IN A SHARED HOSTING ENVIRONMENT 295 1 nohup python fcgihandler.py & Then, (re)start the web server with: 1 /etc/init.d/lighttpd restart Notice that FastCGI binds the web2py server to a Unix socket, not to an IP socket: 1 /tmp/fcgi.sock This is where Lighttpd forwards the HTTP requests to and receives responses from. Unix sockets are lighter than Internet sockets, and this is one of the reasons Lighttpd+FastCGI+web2py is fast. As in the case of Apache, it is possible to setup Lighttpd to deal with static files directly, and to force some applications over HTTPS. Refer to the Lighttpd documentation for details. The administrative interface must be disabled...

Chủ đề:
Lưu

Nội dung Text: Web to py enterprise web framework - p 32

ADSENSE
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2