Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
HTTP(Hypertext Transfer Protocol)ã¨ã¯webä¸ã§HTMLçã®ã³ã³ãã³ãã交æããããã«ä½¿ãããã¢ããªã±ã¼ã·ã§ã³å±¤ã®éä¿¡ãããã³ã«ã§ãã Apacheã¯ãApache HTTP Serverã®ç¥ã§ãæã人æ°ã®é«ãWebãµã¼ãã½ããã¦ã§ã¢ã®ä¸ã¤ã§ããå®å®æ§ãé«ããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã¨ãã¦åç¨ãµã¤ãããèªå® ãµã¼ãã¾ã§ãå¤ãã®ãã©ãããã©ã¼ã åãã«éçºã»é å¸ããã¦ãã¾ãããµã¼ãã¼ã½ããã¦ã§ã¢ã®ä¸å ·å(NCSA httpd)ãä¿®æ£ããããã(a patch)ãéç©ãä¸ã¤ç¬ç«ããã½ããã¦ã§ã¢ã¨ãã¦éçºããã¾ããã
ãã¾ã¾ã§ãªãã¼ã¹ãããã·ã®è¨å®ãããããã£ã¦ããªãã¦ããã§ã«åãã¦ãããµã¼ãã®è¨å®ãè¦ããè¦ã¾ãã§ä½¿ãåãã¦ãããã¡ããã¨ç解ãããã¨æã£ã¦ãããã¥ã¢ã«ãèªã¿ç´ããããã£ã¨ããã£ããè¨å®ã®æ¹æ³ (How) ãããã£ããã¨ä»¥ä¸ã«ããªãããæ¸ãå¿ è¦ããããã¨ããçç± (Why) ãç解ã§ããã®ãå¬ãããä¹ ãã¶ãã«ãããã£ãï¼ãã¨å«ã³ãããªã£ããæåãå¿ããªããã¡ã«ãæãåºããããã«ãæ¸ãã¦ããã mod_proxy - Apache HTTP ãµã¼ã ãã¼ã¸ã§ã³ 2.2 ã Apache ã®ãããã·é¢é£ã®ããã¥ã¢ã«ã mod_proxy ã使ããã¨ã«ãªãã 大äºãªãã£ã¬ã¯ãã£ãã¯ã ProxyPass 㨠ProxyPassReverse ã®ãµãã¤ã ProxyPass ããããªãã¼ã¹ãããã·ãããä¸ã§ã®ã»ã¨ãã©ãã¹ã¦ã®ãã¨ããã£ã¦ããããå®ã¯è¦æ £ãã (ã³ãããæ £ãã) è¨å®ã§ã¯ãã®ãã£ã¬ã¯
his document 㯠http://www.apache.org/docs/mod/mod_rewrite.html ã«ãã Apache Group ã«ãããªãªã¸ãã«ã® mod_rewrite ããã¥ã¢ã«ãè£è¶³ãããã®ã§ããã¦ã§ããã¹ã¿ã¼ãæ®æ®µãå®éã«ç´é¢ãã¦ããå ¸åç㪠URL-based ã®åé¡ããmod_rewrite ã§ã©ã®ããã«è§£æ±ºããããè¨è¿°ãã¦ãã¾ããURL ã® rewriting ruleset ãè¨å®ãããã¨ã«ãã£ã¦ããããã®åé¡ã解決ããæ¹æ³ã詳述ãã¦ããã¾ãã Table Of Contents ã¯ãã㫠解決ç URL ã¬ã¤ã¢ã¦ã Canonical URLs Canonical Hostnames DocumentRoot ã®ç§»å ãã£ã¬ã¯ããªã®ã¹ã©ãã·ã¥ã®è§£æ±º åä¸ãª URL é ç½®ããã ã¦ã§ãã»ã¯ã©ã¹ã¿ ç°ãªãã¦ã§ããµã¼ãã¸ã®ãã¼ã ã»ãã£ã¬ã¯ããªã®ç§»
URL ãæä½ããããã®ã¹ã¤ã¹è£½ã®ã¢ã¼ãã¼ãã¤ããmod_rewrite ã¸ãããã! ãã®ã¢ã¸ã¥ã¼ã«ã¯ãï¼æ£è¦è¡¨ç¾ãã¼ãµã«åºã¥ãï¼ã«ã¼ã«ãã¼ã¹ã® æ¸ãæãã¨ã³ã¸ã³ã使ããè¦æ±ããã URL ãé©å®æ¸ãæãã¾ãã ãµãã¼ãããã«ã¼ã«ã®æ°ãããã³åã«ã¼ã«ãé©ç¨ããéã®ã«ã¼ã«æ¡ä»¶ ã®æ°ã«å¶éã¯ãªããæ¬å½ã«ãã¬ãã·ãã«ã§ãã¤ãã¯ãã«ãª URL æä½ ã¡ã«ããºã ãæä¾ãã¾ãããã® URL æä½ã«å ç«ã¡ã次ã®ããã«ãããã㪠è©ä¾¡ãè¡ãªããã¨ãã§ãã¾ãããã¨ãã°ãµã¼ãå¤æ°ãç°å¢å¤æ°ãHTTP ãããã ã¿ã¤ã ã¹ã¿ã³ããããã«å¤é¨ãã¼ã¿ãã¼ã¹ã®æ¤ç´¢çµæã¾ã§ãè©ä¾¡ã®å¯¾è±¡ã¨ãã¦ã å種ã®ãã©ã¼ãããã使ã£ãç²åº¦ã®é«ã URL ãããã³ã°ãå®ç¾ã§ãã¾ãã ãã®ã¢ã¸ã¥ã¼ã«ã¯ããµã¼ãåä½ã®ã³ã³ããã¹ã (httpd.conf) ããã³ãã£ã¬ã¯ããªåä½ã®ã³ã³ããã¹ã (.htaccess) ã«ãã㦠(PATH-
Apacheã®è¨å®ã§ Order deny,allowã¨ã Satisfy anyã¨ãããªãã ãæå³ãããã人ã®ããã«ãåã¯ãã£ã¨ããã£ã¦ãªãã£ãã åºæ¬ Apacheã®ã¢ã¯ã»ã¹å¶å¾¡ã«ã¯ã ãã¹ãã«ããå¶å¾¡ (Order,Allow,Deny) ã¦ã¼ã¶èªè¨¼ã«ããå¶å¾¡ (Auth*, Require) ã®2éããããã Satisfyã¯ã2éãããã¢ã¯ã»ã¹å¶å¾¡ã®ä¸¡æ¹ãæºããå¿ è¦ããããã©ããã決å®ãããããã©ã«ãã¯Satisfy allãSatisfy anyãªããã©ã¡ããçæ¹æºããã°ããã Order http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#order Order deny,allowã¯ãå ¨ã¦ã®ãã¹ãããã®ã¢ã¯ã»ã¹ã許å¯ããã Order allow,denyã¯ãå ¨ã¦ã®ãã¹ãããã®ã¢ã¯ã»ã¹ãæå¦ããã Order d
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}