From: John Profic <profic@lrn.ru> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] CGI trouble Date: Sun Oct 28 16:53:16 2001 Message-ID: <3BDC1E88.5080500@lrn.ru> (raw) In-Reply-To: <1743208.20011028162941@au.ru> Balamut wrote: > Hello mandrake-russian, > Не понимаю, как настроить у себя работу apache с cgi. При вводе адреса > http://localhost/cgi-bin/server.cgi получаю ошибку 500 > Internal Server Error > Apache/1.3.22 Server at localhost.localdomain Port 80 > В error-log такие сообщения > [Sun Oct 28 15:48:28 2001] [notice] Apache/1.3.22 (ALT Linux/alt1) PHP/4.0.6 rus/PL30.9 configured -- resuming normal operations > .... > [Sun Oct 28 15:51:04 2001] [error] (2)No such file or directory: exec of /var/www/cgi-bin/server.cgi failed Тут видимо ругается на интерпритатор этого cgi-шника, т.е. в первой строке должен быть написан правильный путь к интерпритатору :) Проверьте его вначале из консоли :) > [Sun Oct 28 15:51:04 2001] [error] [client 127.0.0.1] Premature end of script headers: /var/www/cgi-bin/server.cgi Ну а поскольку он не правильно выполняется, то и заголовки нужные не отдает, а апач без этого кричит error 500 :) -- Best regards, John Profic <profic@lrn.ru> Written by Mozilla 0.9.5 using SelfMake! Linux v0.9 based on ASPLinux release 1.1 with locale ru_RU.CP1251, system: kernel 2.4.10-xfs-p1; glibc 2.2.4; gcc 3.0.1; XFree86 4.1.0;
next prev parent reply other threads:[~2001-10-28 16:53 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-10-28 16:26 Balamut 2001-10-28 16:43 ` Dmitriy Gnidchenko 2001-10-28 16:53 ` John Profic [this message] 2001-10-28 16:59 ` Sergey Vlasov
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=3BDC1E88.5080500@lrn.ru \ --to=profic@lrn.ru \ --cc=mandrake-russian@altlinux.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