ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] mod_fastcgi "из коробки"
@ 2003-01-15 13:01 Konstantin N. Bezruchenko
  2003-01-15 13:09 ` Konstantin N. Bezruchenko
  2003-01-17 13:57 ` [Comm] " Alexey Tourbin
  0 siblings, 2 replies; 3+ messages in thread
From: Konstantin N. Bezruchenko @ 2003-01-15 13:01 UTC (permalink / raw)
  To: community

Добрый день, уважаемые!

Поставил mod_fastcgi и что-то "из коробки" он не заработал.
Может ткнет меня носом что не так.

Ситуация следующая:
$ ls -la /var/www/fcgi-bin/
total 16
drwxrws--x    2 root     webmaster     4096 Янв 15 00:03 .
drwxr-xr-x    6 root     webmaster     4096 Янв 14 23:38 ..
-rwxr-xr-x    1 root     webmaster      148 Янв 14 23:50 printenv.cgi
-rwxr-xr-x    1 root     webmaster      757 Янв 14 23:45 test.cgi


$ cat /var/www/fcgi-bin/printenv.cgi
#!/usr/bin/perl
##
##  printenv -- demo CGI program which just prints its environment
##

print "Content-type: text/html\n\n";
print "it worked\n";

Хэндлеры fast-cgi для .cgi добавил

Пытаюсь обратится к скрипту и получаю в error-log:


[Wed Jan 15 14:59:57 2003] [warn] FastCGI: (dynamic) server 
"/var/www/fcgi-bin/printenv.cgi" restarted (pid 2122)
Content-type: text/html

it worked
[Wed Jan 15 14:59:57 2003] [warn] FastCGI: (dynamic) server 
"/var/www/fcgi-bin/printenv.cgi" (pid 2122) terminated by calling exit 
with status '0'


И так в цикле пока по 500 ошибке не отвалится

В чем я не прав?

-- 
Konstantin N. Bezruchenko
CJSC "Internet-Service"
BK5536-RIPE



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

end of thread, other threads:[~2003-01-17 13:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-15 13:01 [Comm] mod_fastcgi "из коробки" Konstantin N. Bezruchenko
2003-01-15 13:09 ` Konstantin N. Bezruchenko
2003-01-17 13:57 ` [Comm] " Alexey Tourbin

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