From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <001601c3abb6$ab291620$0c42a8c0@alex> From: "Alexandr" To: References: <3FB10766.000005.07551@colgate.yandex.ru><3FB1BE8F.2090509@samitc.uzsci.net><20031112061958.GA6756@sam-solutions.net><3FB1E383.1010408@samitc.uzsci.net><20031112094142.GA2684@sam-solutions.net><3FB20C6F.5090509@samitc.uzsci.net><3FB20F0B.4000109@unisoft.com.ua><3FB30BC9.3030700@samitc.uzsci.net><3FB3324C.1000906@unisoft.com.ua> <001a01c3aa35$6b221450$0c42a8c0@alex> <163610367.20031114092045@mail.ru> Subject: =?koi8-r?Q?Re:_=5BComm=5D_Apache__=C9_cgi?= Date: Sat, 15 Nov 2003 23:24:18 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.3 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2003 20:25:29 -0000 Archived-At: List-Archive: List-Post: >A> Установил в ALT Linux Master 2.2 Apach, php, perl. >A> Разкоментировал в httpd.conf: >A> AddType application/x-httpd-php3 .php >A> AddHandler cgi-script .cgi .pl >A> Прописал в Vhosts.conf: >A> >A> ServerName mydomen >A> DocumentRoot /home/www/mydomen/www >A> ScriptAlias /cgi-bin/ /home/www/mydomen/cgi-bin/ >A> >A> Сайт html, php работают, а на скриптах (cgi, pl) выскакивает ошибка: >A> Internal Server Error >A> The server encountered an internal error or misconfiguration and was unable >A> to complete your request. >A> Please contact the server administrator, root@localhost.localdomain and >A> inform them of the time the error occurred, and anything you might have done >A> that may have caused the error. >A> More information about this error may be available in the server error log. >A> Что нужно еще настроить? > на директорию ExecCGI дать А как это делается? В логах пишут: В access_log: 192.168.66.12 - - [15/Nov/2003:23:14:34 +0300] "GET /cgi-bin/chat.cgi HTTP/1.1" 500 611 В error_log: [Sat Nov 15 23:10:25 2003] [alert] httpd: Could not determine the server's fully qualified domain name, using 192.168.66.13 for ServerName [Sat Nov 15 23:10:25 2003] [notice] Apache/1.3.27 (ALT Linux/alt13) PHP/4.3.1-dev/ALT rus/PL30.16 configured -- resuming normal operations [Sat Nov 15 23:10:25 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sat Nov 15 23:10:25 2003] [notice] Accept mutex: sysvsem (Default: sysvsem) [Sat Nov 15 23:14:34 2003] [error] (2)No such file or directory: exec of /home/www/alex/cgi-bin/chat.cgi failed [Sat Nov 15 23:14:34 2003] [error] [client 192.168.66.12] Premature end of script headers: /home/www/alex/cgi-bin/chat.cgi