å èµçhttpd
ãªãã·ã§ã³ãã¼ããã
-h ããã¥ã¡ã³ãã«ã¼ãï¼çç¥æã¯ã«ã¬ã³ããã£ã¬ã¯ããªï¼
-c è¨å®ãã¡ã¤ã«ï¼çç¥æã¯/etc/httpd.confï¼
-p ãã¼ãçªå·ï¼çç¥æã¯80ï¼
-u å®è¡ã¦ã¼ã¶id
-e URLã¨ã³ã³ã¼ã
-d URLãã³ã¼ã
URLã¨ã³ã³ã¼ã/ãã³ã¼ãã¯ä»¥ä¸ã®ããã«ã·ã§ã«ã¹ã¯ãªããã§CGIãæ¸ãã¨ãã«ä½¿ããã
foo=`httpd -d $foo` # decode "Hello%20World" as "Hello World" bar=`httpd -e "<Hello World>"` # encode as "<Hello World>"
httpd.confã®æ¸ãæ¹ã¯ã¾ã ããããªãããã¨ããããcgi-binã®ä¸ã«ç½®ãããã¡ã¤ã«ã¯cgiã¨ãã¦å®è¡ãã¦ãããã
*.php:/usr/local/bin/php
ãããæ¸ãã¦ããã¨æ¡å¼µåãphpã®æã¯æå®ã®å®è¡ã³ãã³ãã使ã£ã¦ããããããã
ãã*.cgiã¯æ±ºããã¡ããå°ããâ¦ã