* [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
* Re: [Comm] mod_fastcgi "из коробки"
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
1 sibling, 0 replies; 3+ messages in thread
From: Konstantin N. Bezruchenko @ 2003-01-15 13:09 UTC (permalink / raw)
To: community
Konstantin N. Bezruchenko wrote:
> Добрый день, уважаемые!
>
> Поставил 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 ошибке не отвалится
P.S
Еще в логах увидел что:
[Wed Jan 15 15:05:13 2003] [notice] FastCGI: process manager initialized
(pid 2544)
Но:
$ ps axf | grep 2544
2544 ? S 0:00 \_ /usr/sbin/fcgi- -DHAVE_HTTPD
-DHAVE_PROXY -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DHAVE_ASIS
-DHAVE_AUTH -DHAVE_AUTH_ANON -DHAVE_AUTH_DB -DHAVE_AUTH_DIGEST
-DHAVE_AUTOINDEX -DHAVE_CERN_META -DHAVE_CGI -DHAVE_DEFINE -DHAVE_DIGEST
-DHAVE_DIR -DHAVE_ENV -DHAVE_EXAMPLE -DHAVE_EXPIRES -DHAV
А в /usr/sbin нету никаких бинарников fcgi* :(
Где их брать?
--
Konstantin N. Bezruchenko
CJSC "Internet-Service"
BK5536-RIPE
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Comm] Re: mod_fastcgi "из коробки"
2003-01-15 13:01 [Comm] mod_fastcgi "из коробки" Konstantin N. Bezruchenko
2003-01-15 13:09 ` Konstantin N. Bezruchenko
@ 2003-01-17 13:57 ` Alexey Tourbin
1 sibling, 0 replies; 3+ messages in thread
From: Alexey Tourbin @ 2003-01-17 13:57 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 682 bytes --]
On Wed, Jan 15, 2003 at 03:01:04PM +0200, Konstantin N. Bezruchenko wrote:
> [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 ошибке не отвалится
>
> В чем я не прав?
В том, что Вы не понимаете, как работает FastCGI. Изучайте документацию.
Если просветления не наступит, пишите мне приватом.
--
WBR, Alexey Tourbin
BIOZAK Ltd., Russia
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ 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