¾ÆÀ̵ð ºñ¹Ð¹øÈ£ | ȸ¿ø°¡ÀÔ | ºñ¹Ð¹øÈ£ºÐ½Ç
   
¡¡»õ·Î¿î¼Ò½Ä
¡¡FAQ
¡¡À¥ÇÁ·Î±×·¥
¡¡À¥DB
¡¡À¥¼­¹ö
¡¡À¥ÇÁ·Î±×·¥¼öÁ¤
¡¡ÇØÇÇÄ®·³
¡¡°ñµåÆÁ
 
Á¦ÀÛÀÇ·Ú
À¥ÇÁ·Î±×·¥ ÆǸŸô
 
ÇöÀçÀ§Ä¡: ¸ÞÀÎ ÇØÇÇÆ÷·³ À¥¼­¹ö : °Ô½Ã¹° ÆîÃÄÀбâ
Total related article : 4  
µî·ÏÀÏ:2001-05-02
½Ã°£:02:09:04
Á¶È¸¼ö:3610
from:211.186.163.241
¸®´ª½º¿¡¼­ Perl ±¸µ¿À» À§ÇÑ httpd.conf ÆÄÀÏ ¼³Á¤¹æ¹ý ±Û¾´ÀÌ : Anonymous

ÆÞÀ» ±¸µ¿½ÃÅ°±â À§ÇÏ¿© ¿ÏÀüÈ÷ ´«ÀÌ »¹°³Áöµµ·Ï ÀÛ¾÷ÇÏ°í ÀÖÁö¸¸ Ãʺ¸ÀÚ¶ó ±×·±Áö ¿ÏÀüÈ÷ »ðÁú¸¸ ÇÏ°í Àֳ׿ä...

¼­¹öÀÇ »ç¾çÀº ¸®´ª½º ·¹µåÇò 7.0 ÀÌ°í Áú¹®ÀÇ ³»¿ëÀº ´ÙÀ½°ú °°½À´Ï´Ù.

- ÇöÀç ¹®¼­ ¹× ÆÄÀÏ °æ·Î°¡ "/home/root2/html/"À¸·Î ÀâÇôÀÖ°í ÀÌ °÷ ÀÌÇÏÀÇ ¸ðµç µð·ºÅ丮¿¡¼­ cgi¸¦ ±¸µ¿½ÃÅ°°íÀÚ ÇÕ´Ï´Ù. ±×·±µ¥ µµ´ëü°¡ µÇÁö°¡ ¾Ê´Â±º¿ä.

httpd.conf¿¡¼­ ¸î¸î ÁÖ¿ä ¼³Á¤ ºÎºÐÀº ´ÙÀ½°ú °°½À´Ï´Ù.(¸ðµÎ ¿Ã¸®¸é º¸´Â ºÐµéÀÌ Â¥Áõ³¯±îºÁ ¹®Á¦°¡ µÉ °Í °°Àº ¸î¸î ºÎºÐ¸¸ ¿Ã¸³´Ï´Ù.)

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/home/root2/html"

#
# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# permissions. 
#
<Directory />
    Options FollowSymLinks Indexes ExecCGI
    AllowOverride None
</Directory>

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/home/root2/html">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
    Options Indexes Includes FollowSymLinks

----------------- Áß ·« --------------------------

#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

--------------------- Áß ·« ------------------------

#
# AddType: allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
# The following is for PHP4 (conficts with PHP/FI, below):
<IfModule mod_php4.c>
  AddType application/x-httpd-php .php4 .php3 .phtml .php
  AddType application/x-httpd-php-source .phps
</IfModule>

# The following is for PHP3:
<IfModule mod_php3.c>
  AddType application/x-httpd-php3 .php3
  AddType application/x-httpd-php3-source .phps
</IfModule>

# The following is for PHP/FI (PHP2):
<IfModule mod_php.c>
  AddType application/x-httpd-php .phtml
</IfModule>

AddType application/x-tar .tgz

#
# AddHandler: allows you to map certain file extensions to "handlers",
# actions unrelated to filetype. These can be either built into the server
# or added with the Action command (see below)
#
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.
#
# To use CGI scripts:
#
AddHandler cgi-script .cgi
AddHandler cgi-script .pl

------------------- Áß ·« --------------------

# If the perl module is installed, this will be enabled.
<IfModule mod_perl.c>
  Alias /perl/ /var/www/perl/
  <Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options +ExecCGI
  </Location>
</IfModule>

------------------- Áß ·« ----------------------------

#SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire
<Files ~ "\.(cgi|shtml)$">
    SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
    SSLOptions +StdEnvVars
</Directory>

--------------------- Áß ·« -----------------------------

¿ä´Â "home/root2/html" ÀÌÇÏÀÇ ¸ðµç µð·ºÅ丮¿¡¼­ cgi »ç¿ëÀÌ ÀÚÀ¯·Î¿ö¾ß ÇÑ´Ù´Â °ÍÀÔ´Ï´Ù. "var/www/cgi-bin" ÀÌ ¾Æ´Ï¶ó¿ä. Áï, À¥»ó¿¡¼­ htto://µµ¸ÞÀÎ/ÇÏÀ§ µð·ºÅ丮/*.cgi ¸¦ ½ÇÇà½ÃÅ°°íÀÚ ÇÕ´Ï´Ù.

°£´ÜÇÑ °Í °°¾Æ ´ýº­µé¾ú´Âµ¥ ¸ð¸£´Â°Ô ÁËÀÎÁö¶ó ¸çÄ¥ ¹ãÀ» »õ¾îµµ ´äÀÌ ¾È³ª¿À´Â±º¿ä...Á¦¹ß À§ÀÇ ¼Ò½º¸¦ ¾Æ¿¹ ¼öÁ¤ÇØÁּż­ ¿Ã·ÁÁֽøé Á¤¸» Á¤¸» °¨»çÇÏ°Ú½À´Ï´Ù.

µµ¿ÍÁÖ¼¼¿ä!

  
µî·ÏÀÏ:2001-05-03
½Ã°£:10:50:35
Á¶È¸¼ö:3214
from:211.110.186.115
[´äº¯] ¸®´ª½º¿¡¼­ Perl ±¸µ¿À» À§ÇÑ httpd.conf ÆÄÀÏ ¼³Á¤¹æ¹ý ±Û¾´ÀÌ : vopos

¾È³çÇϼ¼¿ä, HappyCGI ÆÀÀÇ voposÀÔ´Ï´Ù.

<Directory "/home/root2/html">
...
Options ExecCGI # <== ¿©±â
...
...
</Directory>


Options ¿¡ ExecCGI ¿É¼ÇÀ» ÁÖ¸é /home/root2/html ÀÌÇÏ µð·ºÅ丮¿¡¼­ CGI ½ÇÇà
°¡´ÉÇÕ´Ï´Ù. ÀúÀåÇÏ°í ¾ÆÆÄÄ¡ restart ÇØÁÖ¾î¾ß°ÚÁÒ.

°¨»çÇÕ´Ï´Ù.

- vopos

  
µî·ÏÀÏ:2001-05-04
½Ã°£:17:51:31
Á¶È¸¼ö:3146
from:203.235.255.10
      [´äº¯] [´äº¯] ¸®´ª½º¿¡¼­ Perl ±¸µ¿À» À§ÇÑ httpd.conf ÆÄÀÏ ¼³ ±Û¾´ÀÌ : Anonymous

>¾È³çÇϼ¼¿ä, HappyCGI ÆÀÀÇ voposÀÔ´Ï´Ù.
>
><Directory "/home/root2/html">
>...
>Options ExecCGI # <== ¿©±â
>...
>...
></Directory>
>
>
>Options ¿¡ ExecCGI ¿É¼ÇÀ» ÁÖ¸é /home/root2/html ÀÌÇÏ µð·ºÅ丮¿¡¼­ CGI ½ÇÇà
>°¡´ÉÇÕ´Ï´Ù. ÀúÀåÇÏ°í ¾ÆÆÄÄ¡ restart ÇØÁÖ¾î¾ß°ÚÁÒ.
>
>°¨»çÇÕ´Ï´Ù.
>
>- vopos

±×·¸´Ù¸é "<Directory "/var/www/cgi-bin">" À¸·Î Á¤ÀÇµÈ Ç׸ñµéÀº ¸ðµÎ "/home/root2/html"·Î º¯°æÇØÁÖ¾î¾ß Çϳª¿ä?
Çѹø¸¸ ´õ µµ¿òÀ» ºÎŹµå¸³´Ï´Ù.

  
µî·ÏÀÏ:2001-05-07
½Ã°£:15:07:59
Á¶È¸¼ö:3015
from:211.109.190.70
           [´äº¯] [´äº¯] [´äº¯] ¸®´ª½º¿¡¼­ Perl ±¸µ¿À» À§ÇÑ httpd.conf ±Û¾´ÀÌ : vopos

¾È³çÇϼ¼¿ä, HappyCGI ÆÀÀÇ voposÀÔ´Ï´Ù.

±×´ë·Î Àû¾îÁÖ¸é ¹«¸® ¾øÀ» °Ì´Ï´Ù.

°¢°¢ÀÇ ¿É¼Ç¿¡ ´ëÇÑ Àǹ̰¡ ´Ù ÀÖÁö¸¸ -Àúµµ »ó¼¼È÷´Â ¸ð¸¨´Ï´Ù- ÇöÀç ÇÊ¿äÇÑ
°Ç CGI ½ÇÇàÀ̱⠶§¹®¿¡ ÀÏ´Ü Çغ¸½Ã±â ¹Ù¶ø´Ï´Ù. ^^

°¨»çÇÕ´Ï´Ù.

- vopos

  

 
¨Ô
Á¦¸ñ
ÀÛ¼ºÀÎ
Á¶È¸
µî·ÏÀÏ
¸®´ª½º¿¡¼­ Perl ±¸µ¿À» À§ÇÑ httpd.conf ÆÄÀÏ ¼³Á¤¹æ...
Anonymous
3610
2001-05-02 02:09:04
[´äº¯] ¸®´ª½º¿¡¼­ Perl ±¸µ¿À» À§ÇÑ httpd.conf ÆÄÀÏ...
vopos
3214
2001-05-03 10:50:35
      [´äº¯] [´äº¯] ¸®´ª½º¿¡¼­ Perl ±¸µ¿À» À§ÇÑ httpd.co...
Anonymous
3146
2001-05-04 17:51:31
           [´äº¯] [´äº¯] [´äº¯] ¸®´ª½º¿¡¼­ Perl ±¸µ¿À» À§ÇÑ h...
vopos
3015
2001-05-07 15:07:59
 

  HOME | ȸ»ç¼Ò°³ | Á¦ÀÛÀÇ·Ú | °³ÀÎÁ¤º¸Ãë±Þ¹æħ | CGIMALL | ÀÚ·á½Ç | »çÀÌÆ®µî·Ï | ·©Å·100 | Æ÷·³ | Ãʺ¸°¡À̵å | Áú¹®°ú´äº¯ | ¹è³Ê±¤°í
Copyright¨Ï1997~2008 HappyCGI All rights reserved
Powered By HappyCGI