TAILIEUCHUNG - WEB2PY- P7

WEB2PY- P7: Ấn bản thứ hai này mô tả nhiều tính năng được thêm vào sau khi phát hành ấn bản đầu tiên, bao gồm CRUD, Access Control, và dịch vụ. Tôi hy vọng bạn, thân yêu đọc, hiểu tôi đã làm nó cho bạn: để Việt bạn từ những khó khăn hiện nay lập trình web, và để cho phép bạn thể hiện mình nhiều hơn và tốt hơn trên Web. | SETUP MOD-WSGI ON LINUX 285 1 1 2 3 4 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 The Apache logs are in var log apache2 Setup modwsgi on Linux Download and unzip WEB2py source on the machine where you installed the web server above. Install WEB2py under users www-data for example and give ownership to user www-data and group www-data. These steps can be performed with the following shell commands cd users www-data sudo wget http examples static sudo unzip sudo chown -R www-data www-data user www-data web2py To set up WEB2py with mod_wsgi. create a new Apache configuration file etc apache2 sites-available web2py and include the following code VirtualHost 80 ServerName WSGIDaemonProcess web2py user www-data group www-data display-name GROUP WSGIProcessGroup web2py WSGIScriptAlias users www-data web2py Directory users www-data web2py AllowOverride None Order Allow Deny Deny from all Files Allow from all Files Directory AliasMatch static . users www-data web2py applications 1 static 2 Directory users www-data web2py applications static Order Allow Deny Allow from all Directory Location admin Deny from all Location LocationMatch appadmin Deny from all Please purchase PDF Split-Merge on to remove this watermark. 286 DEPLOYMENT RECIPES 30 LocationMatch 31 32 CustomLog private var log apache2 common 33 ErrorLog private var log apache2 34 VirtualHost When you restart Apache it should pass all the requests to web2y without going through the CherryPy wsgiserver. Here are some explanations 1 WSGIDaemonProcess web2py user www-data group www-data 2 display-name GROUP defines a daemon process group in context of . By defining this inside of the virtual host only this virtual host including any virtual host for same server name but on a different port can access this using WSGIProcessGroup. The .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.