ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexandr" <mirus@newmail.ru>
To: <community@altlinux.ru>
Subject: Re: [Comm] Apache  и cgi
Date: Sat, 15 Nov 2003 23:24:18 +0300
Message-ID: <001601c3abb6$ab291620$0c42a8c0@alex> (raw)
In-Reply-To: <163610367.20031114092045@mail.ru>

>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



  parent reply	other threads:[~2003-11-15 20:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-11 15:59 [Comm] Apache и поддержка PHP unix9
2003-11-12  5:01 ` Shawkat Nizamov
2003-11-12  6:19   ` Alexander Bokovoy
2003-11-12  7:38     ` Shawkat Nizamov
2003-11-12  9:41       ` Alexander Bokovoy
2003-11-12 10:33         ` Shawkat Nizamov
2003-11-12 10:44           ` Eugene Ostapets
2003-11-13  4:42             ` Shawkat Nizamov
2003-11-13  7:27               ` Eugene Ostapets
2003-11-13 22:17                 ` [Comm] Apache и cgi Alexandr
2003-11-14  6:14                   ` Leonid B. Sysoletin
2003-11-15 20:24                     ` Alexandr [this message]
2003-11-14  8:21                 ` [Comm] Apache и поддержка PHP Shawkat Nizamov
2003-11-14 10:13                   ` Eugene Ostapets
2003-11-17 10:29                 ` [Comm] [JT] " Michael Shigorin
2003-11-12 10:49           ` [Comm] " Alexander Bokovoy
2003-11-12 11:09           ` Evgeniy Kobzev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001601c3abb6$ab291620$0c42a8c0@alex' \
    --to=mirus@newmail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git