ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Anthony <ath@isk-clever.ru>
To: community@lists.altlinux.org
Subject: [Comm] Как заставить работать CGI в Apache 2 на ALT Linux Server 4 ?
Date: Thu, 5 Jun 2008 07:48:49 +0400
Message-ID: <1852501948.20080605074849@isk-clever.ru> (raw)

Доброго всем дня.

Подскажите как "из коробки" ALT Linux Server 4 заставить работать cgi
в apache2?
Помоему весь необходимый минимум выполнил:
- Apt-get вытащил все нужные пакеты для Apache2.
- Запустил, посмотрел на дефолтную страничку "It works!"
- Посмотрел содержимое файла http://xxx.xxx.xxx.xxx/cgi-bin/test-cgi
- Активизировал модули для apache - cgi, env и perl
- Проверил включена ли опция Options ExecCGI
- Теперь на запросы test-cgi и printenv ругается так:
"
Server error!

The server encountered an internal error and was unable to complete your request. 

Error message: 
Premature end of script headers: test-cgi

If you think this is a server error, please contact the webmaster. 
Error 500
xxx.xxx.xxx.xxx
Wed Jun 4 10:44:56 2008
Apache/2.2.6 (Unix) PHP5/5.2.2 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8
"
  
Надеюсь все проще чем кажется :-)

Далее хотелось бы поднять Web-фэйс Nawt для NetAMS (тут
обнаружилися маленький косяк, - ошибка в путях, везде дублируется
название каталога /nawt/) но это уже совсем другая тема.

-- 
Best regards,
 Anthony                          mailto:ath@isk-clever.ru



             reply	other threads:[~2008-06-05  3:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05  3:48 Anthony [this message]
2008-06-05 13:21 ` Michael Bochkaryov
2008-06-05 13:27   ` Владимир
2008-06-05 14:08     ` Michael Bochkaryov
2008-06-05 17:53 ` Michael Shigorin
2008-06-06 16:45 ` Vladimir V. Kamarzin

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=1852501948.20080605074849@isk-clever.ru \
    --to=ath@isk-clever.ru \
    --cc=community@lists.altlinux.org \
    /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