ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Как заставить работать CGI в Apache 2 на ALT Linux Server 4 ?
@ 2008-06-05  3:48 Anthony
  2008-06-05 13:21 ` Michael Bochkaryov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Anthony @ 2008-06-05  3:48 UTC (permalink / raw)
  To: community

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

Подскажите как "из коробки" 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-06 16:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-05  3:48 [Comm] Как заставить работать CGI в Apache 2 на ALT Linux Server 4 ? Anthony
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

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