>> Edit article
이름
제목
패스워드
안녕하세요 고수님의 조언을 부탁드리겠습니다. perl을 실행시키는데 애를 먹고있습니다. ============= 와우리눅스 7.0 아파치 1.3.19 펄 5.6.0 ============== 현재 way-board.cgi 파일을 실행시키면 403 forbidden 에러가 나옵니다. 물론 해당 디렉토리와 파일의 퍼미션은 777 혹은 755등의 갖가지로 변화시켜보았고 또 쉘에서 perl way-board.cgi를 실행시켜보면 정상실행됩니다. httpd.conf 파일 설정이 문제가있다고 보여지는데 <Directory....> 설정에서 Options ..... ExecCGI 옵션을 주고 또한 AddHandler 에서 .cgi .pl 등을주었습니다. 그런데도 실행이 안되어서 이틀째 밤새고 .....머리를 쥐어뜯고있습니다. 아래 설정을 좀 봐주세요...~~ //==========httpd.conf ### Section 1: Global Environment ServerType standalone ServerRoot "/usr/local/apache" PidFile logs/httpd.pid ScoreBoardFile logs/apache_runtime_status Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 0 ### Section 2: 'Main' server configuration Port 80 User nobody Group #-1 ServerAdmin webmaster@mydomain.co.kr ServerName mydomain.co.kr DocumentRoot "/home/www" <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory "/usr/local/apache/htdocs"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> <IfModule mod_userdir.c> UserDir public_html </IfModule> <Directory /home/*/public_html> AllowOverride All Options MultiViews Indexes SymLinksIfOwnerMatch ExecCGI <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> </Directory> <Directory /home/*/public_html/html/way-board> AllowOverride All Options FollowSymLinks ExecCGI includes MultiViews Indexes <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> </Directory> <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.php index.phtml index.php3 index.php4 index.shtml </IfModule> AccessFileName .htaccess <Files ~ "^.ht"> Order allow,deny Deny from all </Files> UseCanonicalName On <IfModule mod_mime.c> TypesConfig conf/mime.types </IfModule> DefaultType text/plain <IfModule mod_mime_magic.c> MIMEMagicFile conf/magic </IfModule> HostnameLookups Off ErrorLog logs/error_log LogLevel warn LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined LogFormat "%h %l %u %t "%r" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog logs/access_log common ServerSignature On <IfModule mod_alias.c> Alias /icons/ "/usr/local/apache/icons/" <Directory "/usr/local/apache/icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/" <Directory "/usr/local/apache/cgi-bin"> AllowOverride None Options All Order allow,deny Allow from all </Directory> </IfModule> <IfModule mod_autoindex.c> IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ DefaultIcon /icons/unknown.gif ReadmeName README HeaderName HEADER IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t </IfModule> <IfModule mod_mime.c> AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage he .he AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharset ISO-2022-JP .jis AddLanguage kr .kr AddCharset ISO-2022-KR .iso-kr AddLanguage no .no AddLanguage pl .po AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage pt-br .pt-br AddLanguage ltz .lu AddLanguage ca .ca AddLanguage es .es AddLanguage sv .se AddLanguage cz .cz AddLanguage ru .ru AddLanguage zh-tw .tw AddLanguage tw .tw AddCharset Big5 .Big5 .big5 AddCharset WINDOWS-1251 .cp-1251 AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r AddCharset UCS-2 .ucs2 AddCharset UCS-4 .ucs4 AddCharset UTF-8 .utf8 <IfModule mod_negotiation.c> LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw </IfModule> AddType application/x-httpd-php .php .php4 .htm .html .phtml .inc .cfg AddType application/x-tar .tgz AddHandler cgi-script .cgi .pl </IfModule> <IfModule mod_setenvif.c> BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4.0" force-response-1.0 BrowserMatch "Java/1.0" force-response-1.0 BrowserMatch "JDK/1.0" force-response-1.0 </IfModule> ### Section 3: Virtual Hosts ####### ############################### <VirtualHost mydomain.co.kr> ServerAdmin webmaster@mydomain.co.kr DocumentRoot /home/mydomain/public_html ServerName www.mydomain.co.kr ErrorLog logs/mydomain.co.kr CustomLog logs/mydomain.co.kr-access_log common </VirtualHost> //============= 꼭 리플 부탁드립니다...꾸벅~
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved