ã¢ã¯ã»ã¹ãããURLãä¾ãã°ãhttp://example.jp/foo/?ãã®ããã«ã?ãã ãã§ä»ã®ã¯ã¨ãªãã©ã¡ã¼ã¿ãã¤ãã¦ããªãå ´åã«ã ããmod_rewriteã§ãhttp://example.jp/foo/ãã«ç´ãããã¨ããè¦æãããã¾ããã ãã®URLã¯ã¯ã¨ãªã渡ãããå ´åããããããåã«ã¯ã¨ãªãå
¨é¨æ¶ããã¨ããã ãã§ã¯æºããããªãæ¡ä»¶ã§ãã RewriteRuleããããã³ã°ããæååã«ã¯ã¯ã¨ãªæååãå«ã¾ããªãããåç´ã« RewriteRule (.*/)\?$ $1 [L,R]ã®ããã«æ«å°¾ã®ã/?ãã¨ããããããããã«æ¸ãã¦ããã/foo/ãã®ããã«æ«å°¾ã®ã?ãããªããã®ã¨æ¯è¼ããã¦ãã¾ãã®ã§ããããã¾ããã REQUEST_URIãREQUEST_FILENAMEã«ãã¯ã¨ãªæååã¯å«ã¾ãã¦ããªããããæ¤ç¥ã§ãã¾ããã ãããã¨QUERY_STRINGã¨æ¯è¼ãã¦ããQUER
{{#tags}}- {{label}}
{{/tags}}