<code>/usr/local/apache2/cgi-bin/</code> ¤«¤éÄ󶡤·¡¢¤½¤ì¤é¤ò
CGI ¥×¥í¥°¥é¥à¤È¤·¤Æ°·¤¦¤è¤¦ Apache ¤Ë¼¨¤·¤Þ¤¹¡£</p>
- <p>Î㤨¤Ð¡¢URL <code>http://dev.rcbowen.com/cgi-bin/test.pl</code>
+ <p>Î㤨¤Ð¡¢URL <code>http://www.example.com/cgi-bin/test.pl</code>
¤¬Í׵ᤵ¤ì¤¿¾ì¹ç¡¢Apache ¤Ï ¥Õ¥¡¥¤¥ë
<code>/usr/local/apache2/cgi-bin/test.pl</code>
¤ò¼Â¹Ô¤·¡¢¤½¤Î½ÐÎϤòÊÖ¤¹¤³¤È¤ò»î¤ß¤Þ¤¹¡£
</code></p></div>
- <h3><a name="htaccess" id="htaccess">.htaccess files</a></h3>
+ <h3><a name="htaccess" id="htaccess">.htaccess ¥Õ¥¡¥¤¥ë</a></h3>
<p><a href="htaccess.html"><code>.htaccess</code> ¥Á¥å¡¼¥È¥ê¥¢¥ë</a>
<dt>¥á¥Ã¥»¡¼¥¸¤¬ "Forbidden" ¤Ç»Ï¤Þ¤Ã¤Æ¤¤¤ë</dt>
<dd>¤³¤ì¤Ï¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ÎÌäÂê¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£
- <a href="#errorlogs">Apache ¤Î¥¨¥é¡¼¥í¥°</a>¤È¡¢¸å½Ò¤Î<a href="#filepermissions">¡Ö¥Õ¥¡¥¤¥ë¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¡×</a>
+ <a href="#errorlogs">Apache ¤Î¥¨¥é¡¼¥í¥°</a>¤È¡¢¸å½Ò¤Î<a href="#permissions">¡Ö¥Õ¥¡¥¤¥ë¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¡×</a>
¤Î¾Ï¤ò¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£
</dd>
#!/usr/bin/perl
</code></p></div>
- <p>¤³¤ì¤¬¥¤¥ó¥¿¡¼¥×¥ê¥¿¤Ø¤Î¼ÂºÝ¤Î¥Ñ¥¹¤Ç¤¢¤ë¤³¤È¤ò³Î¼Â¤Ë¤·¤Æ¤ª¤¤Þ¤¹¡£</p>
+ <p>¤³¤ì¤¬¥¤¥ó¥¿¡¼¥×¥ê¥¿¤Ø¤Î¼ÂºÝ¤Î¥Ñ¥¹¤Ç¤¢¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤ª¤¤Þ¤¹¡£</p>
+ <p>¤Þ¤¿¡¢CGI ¥×¥í¥°¥é¥à¤¬Â¾¤Î<a href="#env">´Ä¶ÊÑ¿ô</a>¤Ë°Í¸¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¤½¤Î´Ä¶ÊÑ¿ô¤¬
+ Apache ¤«¤éÅϤµ¤ì¤ë¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£</p>
+
<h3><a name="syntaxerrors" id="syntaxerrors">¥×¥í¥°¥é¥à¥¨¥é¡¼</a></h3>
<p>CGI ¥×¥í¥°¥é¥ß¥ó¥°¤Ë½¬½Ï¤¹¤ë¤È¡¢
- ΢¤Çµ¯¤³¤Ã¤Æ¤¤¤ë¤³¤È¤Ë¤Ä¤¤¤Æ¹¹¤ËÍý²ò¤¹¤ë¤³¤ÈÌò¤ËΩ¤Á¤Þ¤¹¡£
+ ΢¤Çµ¯¤³¤Ã¤Æ¤¤¤ë¤³¤È¤Ë¤Ä¤¤¤Æ¹¹¤ËÍý²ò¤¹¤ë¤³¤È¤ÎÌò¤ËΩ¤Á¤Þ¤¹¡£
¥Ö¥é¥¦¥¶¤È¥µ¡¼¥Ð¤¬¤É¤Î¤è¤¦¤ËÁê¸ßÄÌ¿®¤¹¤ë¤«¤Ë¤Ä¤¤¤Æ¤ÏÆäˤ½¤¦¤Ç¤¹¡£
¤Ê¤¼¤Ê¤é¡¢"Hello, World."
¤ò°õ»ú¤¹¤ë¥×¥í¥°¥é¥à¤ò½ñ¤¯¤³¤È¤Ï¤ª¤ª¤¤¤Ë·ë¹½¤Ç¤¹¤¬¡¢