84 ¹ø ±Û: [Áú¹®]¸®´ª½º¿¡¼ ¾ÆÆÄÄ¡ CGI¿¡·¯... |
±Û¾´ÀÌ: ±èųâ
|
±Û¾´³¯: 2000³â 04¿ù 11ÀÏ 01:55:13 È(»õº®) |
Á¶È¸: 2295 |
¾È³çÇϼ¼¿ä.
¸®´ª½º¿¡¼ ¾ÆÆÄÄ¡·Î À¥¼¹ö¸¦ ±¸ÃàÇÏ°íÀÚÇÏ´Â Ãʺ¸ÀÔ´Ï´Ù.
ºê¶ó¿ìÀú·Î º¼¶§ html¹®¼´Â Àß µÇ´Âµ¥..
CGI¸¦ ½ÇÇà ÇÒ ¶§ ¿À·ù°¡ ³³´Ï´Ù.
ºê¶ó¿ìÀú¿¡ Ãâ·ÂµÇ´Â ¿À·ùÀÇ ³»¿ëÀº ¾Æ·¡¿Í °°½À´Ï´Ù.
______________________________________________________________
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.
Please contact the server administrator, root@localhost and inform them of the time
the error occurred, and anything you might have done that may have caused the
error.
More information about this error may be available in the server error log.
______________________________________________________________
±×¸®°í ¾ÆÆÄÄ¡ÀÇ ¿À·ù·Î±×¸¦ »ìÆ캸¸é ´ÙÀ½°ú °°½À´Ï´Ù.
/var/log/httpd/error_log
______________________________________________________________
[Mon Apr 10 14:50:08 2000] [error] (2)±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½: exec of
/home/httpd/html/search.cgi failed
[Mon Apr 10 14:50:08 2000] [error] [client 210.115.170.97] Premature end of script
headers: /home/httpd/html/search.cgi
______________________________________________________________
httpd.conf ÆÄÀÏÀÇ ¼³Á¤ÀÇ °ü·Ã ³»¿ëÀ̶ó »ý°¢µÇ´Â ºÎºÐµµ ¾Æ·¡¿Í °°½À´Ï´Ù.
AddHandler cgi-script .cgi
AddType application/x-httpd-cgi .cgi
<Directory /home/*>
Options ExecCGI FollowSymLinks Indexes
AllowOverride Options FileInfo AuthConfig Limit
Order allow,deny
Allow from all
</Directory>
¾Æ·¡¿Í °°Àº °£´ÜÇÑ perl ½ºÅ©¸³Æ® Á¶Â÷ ½ÇÇàÀÌ ¾ÈµÇ´Â ±º¿ä.
#!/usr/bin/perl
print "Content-type: text/html\n\n" ;
print "Hello, World...\n"
#___end______
¿øÀÎÀ» ¾Ë°í °è½Ã´Â ºÐÀº ´äº¯À» ÇØÁÖ½Ã¸é °í¸¿°Ú½À´Ï´Ù.
±×·³À̸¸
|
ÀÌÀü±Û : Re: Re: (Áú¹®)°í¸¿À¾´Ï´Ù (³»¿ë¾øÀ½)
´ÙÀ½±Û : Re: [Áú¹®]¸®´ª½º¿¡¼ ¾ÆÆÄÄ¡ CGI¿¡·¯...
|
from 210.221.61.166
JS(Redhands)Board 0.4 +@
|