From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Balamut X-Mailer: The Bat! (v1.53) UNREG / CD5BF9353B3B7091 X-Priority: 3 (Normal) Message-ID: <1743208.20011028162941@au.ru> To: mandrake-russian@altlinux.ru MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Subject: [mdk-re] CGI trouble Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru X-Reply-To: Balamut List-Help: List-Post: List-Subscribe: , List-Id: Linux-Mandrake RE / ALT Linux discussion list List-Unsubscribe: , List-Archive: Date: Sun Oct 28 16:26:11 2001 X-Original-Date: Sun, 28 Oct 2001 16:29:41 +0300 Archived-At: List-Archive: List-Post: Hello mandrake-russian, Не понимаю, как настроить у себя работу apache с cgi. При вводе адреса http://localhost/cgi-bin/server.cgi получаю ошибку 500 Internal Server Error Apache/1.3.22 Server at localhost.localdomain Port 80 В error-log такие сообщения [Sun Oct 28 15:48:28 2001] [notice] Apache/1.3.22 (ALT Linux/alt1) PHP/4.0.6 rus/PL30.9 configured -- resuming normal operations .... [Sun Oct 28 15:51:04 2001] [error] (2)No such file or directory: exec of /var/www/cgi-bin/server.cgi failed [Sun Oct 28 15:51:04 2001] [error] [client 127.0.0.1] Premature end of script headers: /var/www/cgi-bin/server.cgi В /etc/httpd/conf/httpd.conf в секцию добавил "ExecCGI": Options Indexes Includes FollowSymLinks __ExecCGI__ MultiViews Себя добавил в группу webmaster. Установил apache-mod_perl, perl, perl_CGI Что еще? http://localhost как и положено, выводит главную страницу апача. -- Best regards, Balamut mailto:balamut@au.ru