歡迎您光臨本站 註冊首頁

httpd rewrite

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

httpd rewrite


RewriteCond %{HTTP_HOST}   !^fully\.qualified\.domain\.name
RewriteCond %{HTTP_HOST}   !^$
RewriteCond %{SERVER_PORT} !^80$
RewriteRule ^/(.*)         http://fully.qualified.domain.name:%{SERVER_PORT}/$1



雖然意思是很明顯了。

請問 HTTP_HOST、SERVER_PORT等變數是在哪裡定義?或者怎麼知道他們的意思?  謝謝

[火星人 ] httpd rewrite已經有458次圍觀

http://coctec.com/docs/service/show-post-22734.html