ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alting <alting@mail.ru>
To: Sergey Donin <mandrake-russian@linuxteam.iplabs.ru>
Subject: [re] Re[2]: [re] Regulus (дополнение)
Date: Thu Dec  7 14:12:01 2000
Message-ID: <68158922147.20001207141153@mail.ru> (raw)
In-Reply-To: <3A2F624A.2FD40C37@irtel.ru>

Здравствуйте!

Thursday, December 07, 2000, 1:11:22 PM, you wrote:

>> RM> Как настраивать, не знаю, а 500 - это "Internal server error", т.е.
>> RM> бог его знает, что.
>> в логах regulus про эту ошибку написано так: premature end of script
>> headers: (далее путь к скрипту).

SD> Это означает, что скрипт выдает неверный header. Или, скорее всего,
SD> вообще его не выдает. Нужно в начале работы скрипта вывалить в stdin
SD> что-то типа:

SD> Content-type: text/plain\n\n

SD> именно два \n !

SD> пример на shell'е:

SD> echo Content-type: text/plain
SD> echo

SD> на perl'е:

SD> print "Content-type: text/plain\n\n";

SD> на С'ях:

SD> printf("Content-type: text/plain\n\n");

SD> Это должно быть первым, что выводит Ваш скрипт!


Те cgi скрипты, которые там лежат, наполовину на шелле, наполовину на
перле. Но это ведь дистрибутив! И скрипты из него, не самописные.
Значит, работать должны без изменений.
Может, дело в том, что какие-то пакеты не стоят?
Знать бы еще, какие...

-- 
With best regards                        mailto:alting@mail.ru





  reply	other threads:[~2000-12-07 14:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-07 12:30 [re] Regulus Alting
2000-12-07 12:46 ` Roman Mediakov
2000-12-07 13:01   ` [re] Regulus (дополнение) Alting
2000-12-07 13:15     ` Sergey Donin
2000-12-07 14:12       ` Alting [this message]
2000-12-07 14:19         ` [re] Re[2]: [re] Regulus ( дополнение) Sergey Donin
2000-12-08 11:54           ` [re] Re[2]: " Alting
2000-12-08 19:23             ` Maxim Savrilov
2000-12-07 14:24         ` Rider
2000-12-07 13:02   ` [re] Regulus Sergey Donin
2000-12-08 22:33     ` [re] Mozilla в rpm и без debug'a Roman Shumikhin
2000-12-08 23:39       ` aen

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=68158922147.20001207141153@mail.ru \
    --to=alting@mail.ru \
    --cc=mandrake-russian@linuxteam.iplabs.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