Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

部分 IV. Web Application

目錄

44. Apache httpd
44.1. Install
44.1.1. Quick install apache with aptitude
44.1.1.1. command
44.1.1.2. rewrite module
44.1.1.3. PHP module
44.1.1.4. deflate module
44.1.1.5. ssl module
44.1.1.6. VirtualHost
44.1.1.7. ~userdir module - /public_html
44.1.1.8. PHP 5
44.1.2. CentOS 6
44.1.2.1. Install
44.1.2.2. Uninstall
44.1.2.3. Configure
44.1.2.4. Starting
44.1.2.5. FAQ
44.1.3. Compile and then install Apache
44.1.3.1. Apache 安裝與配置
44.1.3.2. 優化編譯條件
44.1.3.3. PHP
44.1.3.4. Automation Installing
44.1.4. XAMPP
44.1.4.1. XAMPP for Linux
44.1.4.2. php5
44.2. Module
44.2.1. Output a list of modules compiled into the server.
44.2.2. Core
44.2.2.1. Listen
44.2.2.2. Filesystem and Webspace
44.2.2.3. Etag
44.2.2.4. 隱藏 Apache 版本信息
44.2.3. mpm
44.2.3.1. event
44.2.3.2. worker
44.2.4. Apache Log
44.2.4.1. LogLevel
44.2.4.2. LogFormat
44.2.4.3. Compressed
44.2.4.4. rotatelogs - Piped logging program to rotate Apache logs
44.2.4.5. cronolog
44.2.4.6. 日誌合併
44.2.4.7. 日誌歸檔
44.2.4.8. logger
44.2.4.9. other
44.2.5. mod_access
44.2.6. VirtualHost
44.2.6.1. ServerName/ServerAlias
44.2.6.2. rotatelogs
44.2.7. Alias / AliasMatch
44.2.8. Redirect / RedirectMatch
44.2.9. Rewrite
44.2.9.1. R=301
44.2.9.2. Rewrite + JkMount
44.2.9.3. Apache redirect domain.com to www.domain.com
44.2.9.4. 正則匹配副檔名
44.2.10. Proxy
44.2.10.1. Reverse proxy
44.2.11. Deflate
44.2.11.1. 測試 gzip,deflate 模組
44.2.12. Expires
44.2.12.1. FilesMatch
44.2.12.2. Cache-Control
44.2.12.3. ETag
44.2.13. Cache
44.2.13.1. mod_disk_cache
44.2.13.2. mod_mem_cache
44.2.14. usertrack
44.2.15. Charset
44.2.16. Dir
44.2.17. Includes
44.2.18. Apache Status
44.2.19. Mod Perl
44.2.20. mod_pagespeed -
44.2.21. Module FAQ
44.2.22. mod_setenvif
44.2.23. PHP 程序安全問題 php_admin_value
44.2.24. mod_spdy
44.3. 設置Apache實現防盜連
44.4. .htaccess
44.5. Error Prompt
44.5.1. Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
44.5.2. Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration
45. Nginx
45.1. Installing
45.1.1. Installing by apt-get under the debain/ubuntu
45.1.2. CentOS
45.1.2.1. spawn-fcgi script
45.1.2.2. php-fpm
45.1.2.3. fastcgi backend
45.1.3. installing by source
45.1.4. -V show version and configure options then exit
45.1.5. config test
45.1.6. rotate log
45.1.6.1. log shell
45.1.6.2. /etc/logrotate.d/nginx
45.1.7. CentOS 7
45.2. nginx 配置檔案
45.2.1. http 配置
45.2.2. events
45.2.3. gzip
45.2.3.1. CDN支持
45.2.4. server_tokens
45.2.5. ssi
45.2.6. server
45.2.6.1. listen
45.2.6.2. 單域名虛擬主機
45.2.6.3. ssl 虛擬主機
45.2.6.4. server_name 配置
45.2.6.5. root 通過$host智能匹配目錄
45.2.6.6. location
45.2.6.7. expires
45.2.6.8. access
45.2.6.9. auth_basic
45.2.6.10. autoindex
45.2.6.11. try_files
45.2.6.12. stub_status
45.2.6.13. add_header
45.2.6.14. valid_referers
45.2.7. HTTP2 配置 SSL證書
45.2.7.1. spdy
45.2.7.2. HTTP2
45.2.7.3. 用戶訪問 HTTP時強制跳轉到 HTTPS
45.2.8. rewrite
45.2.8.1. http get 參數處理
45.2.8.2. 正則取非
45.2.9. upstream 負載均衡
45.2.9.1. weight 權重配置
45.2.10. fastcgi
45.2.10.1. spawn-fcgi
45.2.10.2. php-fpm
45.2.11. return
45.2.12. Nginx 變數
45.2.12.1. $host
45.2.12.2. http_user_agent
45.2.12.3. http_referer
45.2.12.4. request_filename
45.2.12.5. request_uri
45.2.12.6. remote_addr
45.2.12.7. http_cookie
45.2.12.8. request_method
45.2.12.9. invalid_referer
45.2.12.10. 自定義變數
45.2.12.11. if 條件判斷
45.3. Proxy
45.3.1. proxy_cache
45.3.2. rewrite + proxy_pass
45.3.3. request_filename + proxy_pass
45.3.4. $request_uri 與 proxy_pass 聯合使用
45.3.5. try_files 與 proxy_pass 共用
45.3.6. Proxy 與 SSI
45.3.7. Host
45.3.8. expires
45.3.9. X-Forwarded-For
45.3.10. X-Sendfile
45.3.11. proxy_http_version
45.3.12. proxy_set_header
45.3.13. timeout 超時時間
45.3.14. example
45.3.14.1. upstream 實例
45.3.14.2. Tomcat 實例
45.4. ngx_http_flv_module
45.5. ngx_http_mp4_module
45.6. limit_zone
45.7. image_filter
45.8. Example
45.8.1. Nginx + Tomcat
45.8.2. 攔截index.html
45.8.3. Nginx -> Nginx -> Tomcat
45.9. FAQ
45.9.1. 405 Not Allowed?
45.9.2. 502 Bad Gateway?
45.9.3. 413 Request Entity Too Large
45.9.4. 502 Bad Gateway?
45.9.5. 499 Client Closed Request
45.9.6. proxy_pass
45.9.7. proxy_pass SESSION 丟失問題
45.9.8. [alert] 55785#0: *11449 socket() failed (24: Too many open files) while connecting to upstream
45.9.9. server_name 與 SSI 注意事項
45.9.10. location 跨 document_root 引用,引用 document_root 之外的資源
45.9.11. nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf
46. Apache Tomcat
46.1. Tomcat 安裝與配置
46.1.1. Tomcat 6
46.1.1.1. tomcat-native
46.1.1.2. 啟動腳本
46.1.2. Tomcat 7
46.1.2.1. Server JRE
46.1.2.2. Tomcat
46.1.3. Java 8 + Tomcat 8
46.1.3.1. systemctl 啟動腳本
46.1.3.2. Session 共享
46.1.4. 防火牆配置
46.1.5. 同時運行多實例
46.1.6. Testing file
46.1.7. mod_jk
46.1.8. mod_proxy_ajp
46.1.9. RewriteEngine 連接 Tomcat
46.2. 配置 Tomcat 伺服器
46.2.1. server.xml
46.2.1.1. Connector
46.2.1.2. Context
46.2.2. tomcat-users.xml
46.2.3. context.xml
46.2.3.1. Resources
46.2.4. logging.properties
46.3. 虛擬主機配置
46.3.1. 方案一
46.3.2. 方案二
46.3.3. Alias 別名
46.3.4. access_log
46.3.5. Context 配置
46.3.6. 主機綁定IP地址
46.4. SSI
46.5. Logging 日誌
46.5.1. 開啟 debug 模式
46.5.2. 切割 catalina.out 日誌
46.6. Init.d Script
46.6.1. Script 1
46.6.2. Shell Script 2
47. Lighttpd
47.1. 安裝Lighttpd
47.1.1. quick install with aptitude
47.1.2. yum install
47.1.3. to compile and then install lighttpd
47.1.3.1. shell script
47.2. /etc/lighttpd/lighttpd.conf
47.2.1. max-worker / max-fds
47.2.2. accesslog.filename
47.2.3. ETags
47.2.4. server.tag
47.3. Module
47.3.1. simple_vhost
47.3.2. ssl
47.3.3. redirect
47.3.4. rewrite
47.3.4.1. Lighttpd Rewrite QSA
47.3.5. alias
47.3.6. auth
47.3.7. compress
47.3.8. expire
47.3.9. status
47.3.10. setenv
47.3.10.1. Automatic Decompression
47.3.11. fastcgi
47.3.11.1. enable fastcgi
47.3.11.2. PHP
47.3.11.3. Python
47.3.11.4. Perl
47.3.11.5. Ruby
47.3.11.6. UNIX domain sockets
47.3.12. user-agent
47.3.13. spdy
47.4. 其他模組
47.4.1. mod_secdownload 防盜鏈
47.5. Example
47.5.1. s-maxage
48. Resin
48.1. 安裝Resin
48.1.1. 直接使用
48.1.2. Debian/Ubuntu
48.1.3. 源碼安裝Resin
48.2. Compiling mod_caucho.so
48.3. resin.conf
48.3.1. Maximum number of threads
48.3.2. Configures the keepalive
48.3.3. ssl
48.4. virtual hosts
48.4.1. explicit host
48.4.2. regexp host
48.4.3. host-alias
48.4.4. configures a deployment directory for virtual hosts
48.4.5. Resources
48.5. FAQ
48.5.1. java.lang.OutOfMemoryError: PermGen space
49. Application Server
49.1. Zope
49.2. JBoss - JBoss Enterprise Middleware
50. Web Server Optimization
50.1. ulimit
50.1.1. open files
50.2. khttpd
50.3. php.ini
50.3.1. Resource Limits
50.3.2. File Uploads
50.3.3. Session Shared
50.3.4. PATHINFO
50.4. APC Cache (php-apc - APC (Alternative PHP Cache) module for PHP 5)
50.5. Zend Optimizer
50.6. eaccelerator
51. varnish - a state-of-the-art, high-performance HTTP accelerator
51.1. Varnish Install
51.2. varnish utility
51.2.1. status
51.2.2. varnishadm
51.2.2.1. 清除緩存
51.2.3. varnishtop
51.2.4. varnishhist
51.2.5. varnishsizes
51.3. log file
51.4. Varnish Configuration Language - VCL
51.4.1. unset / set
51.5. example
52. Apache Traffic Server
52.1. Install
52.2. Configure
53. Cherokee
53.1. Installing Cherokee
54. Jetty
55. Other Web Server
55.1. Python SimpleHTTPServer
56. web 伺服器排名
56.1. HTTP狀態碼
57. HTTP2
57.1. Chrome