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

部分 IV. Web Application

目錄

45. Apache httpd
45.1. Install
45.1.1. Quick install apache with aptitude
45.1.1.1. command
45.1.1.2. rewrite module
45.1.1.3. PHP module
45.1.1.4. deflate module
45.1.1.5. ssl module
45.1.1.6. VirtualHost
45.1.1.7. ~userdir module - /public_html
45.1.1.8. PHP 5
45.1.2. CentOS 6
45.1.2.1. Install
45.1.2.2. Uninstall
45.1.2.3. Configure
45.1.2.4. Starting
45.1.2.5. FAQ
45.1.3. Compile and then install Apache
45.1.3.1. Apache 安裝與配置
45.1.3.2. 優化編譯條件
45.1.3.3. PHP
45.1.3.4. Automation Installing
45.1.4. XAMPP
45.1.4.1. XAMPP for Linux
45.1.4.2. php5
45.2. Module
45.2.1. Output a list of modules compiled into the server.
45.2.2. Core
45.2.2.1. Listen
45.2.2.2. Filesystem and Webspace
45.2.2.3. Etag
45.2.2.4. 隱藏 Apache 版本信息
45.2.3. mpm
45.2.3.1. event
45.2.3.2. worker
45.2.4. Apache Log
45.2.4.1. LogLevel
45.2.4.2. LogFormat
45.2.4.3. Compressed
45.2.4.4. rotatelogs - Piped logging program to rotate Apache logs
45.2.4.5. cronolog
45.2.4.6. 日誌合併
45.2.4.7. 日誌歸檔
45.2.4.8. logger
45.2.4.9. other
45.2.5. mod_access
45.2.6. VirtualHost
45.2.6.1. ServerName/ServerAlias
45.2.6.2. rotatelogs
45.2.7. Alias / AliasMatch
45.2.8. Redirect / RedirectMatch
45.2.9. Rewrite
45.2.9.1. R=301
45.2.9.2. Rewrite + JkMount
45.2.9.3. Apache redirect domain.com to www.domain.com
45.2.9.4. 正則匹配副檔名
45.2.10. Proxy
45.2.10.1. Reverse proxy
45.2.11. Deflate
45.2.11.1. 測試 gzip,deflate 模組
45.2.12. Expires
45.2.12.1. FilesMatch
45.2.12.2. Cache-Control
45.2.12.3. ETag
45.2.13. Cache
45.2.13.1. mod_disk_cache
45.2.13.2. mod_mem_cache
45.2.14. usertrack
45.2.15. Charset
45.2.16. Dir
45.2.17. Includes
45.2.18. Apache Status
45.2.19. Mod Perl
45.2.20. mod_pagespeed -
45.2.21. Module FAQ
45.2.22. mod_setenvif
45.2.23. PHP 程序安全問題 php_admin_value
45.2.24. mod_spdy
45.3. 設置Apache實現防盜連
45.4. .htaccess
45.5. Error Prompt
45.5.1. Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
45.5.2. Invalid command 'AuthUserFile', perhaps misspelled or defined by a module not included in the server configuration
46. Nginx
46.1. Installing
46.1.1. Installing by apt-get under the debain/ubuntu
46.1.2. CentOS
46.1.2.1. spawn-fcgi script
46.1.2.2. php-fpm
46.1.2.3. fastcgi backend
46.1.3. installing by source
46.1.4. -V show version and configure options then exit
46.1.5. config test
46.1.6. rotate log
46.1.6.1. log shell
46.1.6.2. /etc/logrotate.d/nginx
46.1.7. CentOS 7
46.2. nginx 配置檔案
46.2.1. http 配置
46.2.2. events
46.2.3. gzip
46.2.3.1. CDN支持
46.2.4. server_tokens
46.2.5. ssi
46.2.6. server
46.2.6.1. listen
46.2.6.2. 單域名虛擬主機
46.2.6.3. ssl 虛擬主機
46.2.6.4. server_name 配置
46.2.6.5. root 通過$host智能匹配目錄
46.2.6.6. location
46.2.6.7. expires
46.2.6.8. access
46.2.6.9. autoindex
46.2.6.10. try_files
46.2.6.11. add_header
46.2.7. HTTP2 配置 SSL證書
46.2.7.1. spdy
46.2.7.2. HTTP2
46.2.7.3. 用戶訪問 HTTP時強制跳轉到 HTTPS
46.2.8. rewrite
46.2.8.1. http get 參數處理
46.2.8.2. 正則取非
46.2.9. upstream 負載均衡
46.2.9.1. weight 權重配置
46.2.10. fastcgi
46.2.10.1. spawn-fcgi
46.2.10.2. php-fpm
46.2.11. return
46.2.12. Nginx 變數
46.2.12.1. $host
46.2.12.2. http_user_agent
46.2.12.3. http_referer
46.2.12.4. request_filename
46.2.12.5. request_uri
46.2.12.6. remote_addr
46.2.12.7. http_cookie
46.2.12.8. request_method
46.2.12.9. invalid_referer
46.2.12.10. 自定義變數
46.2.12.11. if 條件判斷
46.3. Proxy
46.3.1. proxy_cache
46.3.2. rewrite + proxy_pass
46.3.3. request_filename + proxy_pass
46.3.4. $request_uri 與 proxy_pass 聯合使用
46.3.5. try_files 與 proxy_pass 共用
46.3.6. Proxy 與 SSI
46.3.7. Host
46.3.8. expires
46.3.9. X-Forwarded-For
46.3.10. X-Sendfile
46.3.11. proxy_http_version
46.3.12. proxy_set_header
46.3.13. timeout 超時時間
46.3.14. example
46.3.14.1. upstream 實例
46.3.14.2. Tomcat 實例
46.3.14.3. Nginx -> Nginx -> Tomcat
46.3.14.4. Proxy 處理 Cookie
46.3.14.5. Proxy 添加 CORS 頭
46.4. Nginx module
46.4.1. stub_status
46.4.2. sub_filter 頁面中查找和替換
46.4.3. auth_basic
46.4.4. valid_referers
46.4.5. ngx_http_flv_module
46.4.6. ngx_http_mp4_module
46.4.7. limit_zone
46.4.8. image_filter
46.5. Example
46.5.1. Nginx + Tomcat
46.5.2. 攔截index.html
46.5.3. Session 的 Cookie 域處理
46.6. FAQ
46.6.1. 405 Not Allowed?
46.6.2. 502 Bad Gateway?
46.6.3. 413 Request Entity Too Large
46.6.4. 502 Bad Gateway?
46.6.5. 499 Client Closed Request
46.6.6. proxy_pass
46.6.7. proxy_pass SESSION 丟失問題
46.6.8. [alert] 55785#0: *11449 socket() failed (24: Too many open files) while connecting to upstream
46.6.9. server_name 與 SSI 注意事項
46.6.10. location 跨 document_root 引用,引用 document_root 之外的資源
46.6.11. nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf
47. Apache Tomcat
47.1. Tomcat 安裝與配置
47.1.1. Tomcat 6
47.1.1.1. tomcat-native
47.1.1.2. 啟動腳本
47.1.2. Tomcat 7
47.1.2.1. Server JRE
47.1.2.2. Tomcat
47.1.3. Java 8 + Tomcat 8
47.1.3.1. systemctl 啟動腳本
47.1.3.2. Session 共享
47.1.4. 防火牆配置
47.1.5. 同時運行多實例
47.1.6. Testing file
47.1.7. mod_jk
47.1.8. mod_proxy_ajp
47.1.9. RewriteEngine 連接 Tomcat
47.2. 配置 Tomcat 伺服器
47.2.1. server.xml
47.2.1.1. Connector
47.2.1.2. Context
47.2.2. tomcat-users.xml
47.2.3. context.xml
47.2.3.1. Resources
47.2.3.2. session cookie
47.2.4. logging.properties
47.3. 虛擬主機配置
47.3.1. 方案一
47.3.2. 方案二
47.3.3. Alias 別名
47.3.4. access_log
47.3.5. Context 配置
47.3.6. 主機綁定IP地址
47.4. SSI
47.5. Logging 日誌
47.5.1. 開啟 debug 模式
47.5.2. 切割 catalina.out 日誌
47.6. Init.d Script
47.6.1. Script 1
47.6.2. Shell Script 2
48. Lighttpd
48.1. 安裝Lighttpd
48.1.1. quick install with aptitude
48.1.2. yum install
48.1.3. to compile and then install lighttpd
48.1.3.1. shell script
48.2. /etc/lighttpd/lighttpd.conf
48.2.1. max-worker / max-fds
48.2.2. accesslog.filename
48.2.3. ETags
48.2.4. server.tag
48.3. Module
48.3.1. simple_vhost
48.3.2. ssl
48.3.3. redirect
48.3.4. rewrite
48.3.4.1. Lighttpd Rewrite QSA
48.3.5. alias
48.3.6. auth
48.3.7. compress
48.3.8. expire
48.3.9. status
48.3.10. setenv
48.3.10.1. Automatic Decompression
48.3.11. fastcgi
48.3.11.1. enable fastcgi
48.3.11.2. PHP
48.3.11.3. Python
48.3.11.4. Perl
48.3.11.5. Ruby
48.3.11.6. UNIX domain sockets
48.3.12. user-agent
48.3.13. spdy
48.4. 其他模組
48.4.1. mod_secdownload 防盜鏈
48.5. Example
48.5.1. s-maxage
49. Resin
49.1. 安裝Resin
49.1.1. 直接使用
49.1.2. Debian/Ubuntu
49.1.3. 源碼安裝Resin
49.2. Compiling mod_caucho.so
49.3. resin.conf
49.3.1. Maximum number of threads
49.3.2. Configures the keepalive
49.3.3. ssl
49.4. virtual hosts
49.4.1. explicit host
49.4.2. regexp host
49.4.3. host-alias
49.4.4. configures a deployment directory for virtual hosts
49.4.5. Resources
49.5. FAQ
49.5.1. java.lang.OutOfMemoryError: PermGen space
50. Application Server
50.1. Zope
50.2. JBoss - JBoss Enterprise Middleware
51. Web Server Optimization
51.1. ulimit
51.1.1. open files
51.2. khttpd
51.3. php.ini
51.3.1. Resource Limits
51.3.2. File Uploads
51.3.3. Session Shared
51.3.4. PATHINFO
51.4. APC Cache (php-apc - APC (Alternative PHP Cache) module for PHP 5)
51.5. Zend Optimizer
51.6. eaccelerator
52. varnish - a state-of-the-art, high-performance HTTP accelerator
52.1. Varnish Install
52.2. varnish utility
52.2.1. status
52.2.2. varnishadm
52.2.2.1. 清除緩存
52.2.3. varnishtop
52.2.4. varnishhist
52.2.5. varnishsizes
52.3. log file
52.4. Varnish Configuration Language - VCL
52.4.1. unset / set
52.5. example
53. Apache Traffic Server
53.1. Install
53.2. Configure
54. Cherokee
54.1. Installing Cherokee
55. Jetty
56. Other Web Server
56.1. Python SimpleHTTPServer
57. web 伺服器排名
57.1. HTTP狀態碼
58. HTTP2
58.1. Chrome