From: "\"А. Куликовский\"" <kae@tut.by>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] apache2 и /var/www/apache2/cgi-bin
Date: Mon, 15 Sep 2008 14:16:51 +0300
Message-ID: <48CE4423.2030400@tut.by> (raw)
In-Reply-To: <48CA5173.5040500@tut.by>
А. Куликовский пишет:
> Приветствую уважаемое сообщество.
>
> Джентльмены! Подскажите минимальный набор действий для того, чтобы
> заработали скрипты в /var/www/apache2/cgi-bin . Имеется ALT S 4.0.1 и,
> соответственно, apache2, который говорит, что It Works! ...
> Пытаюсь начать переезд с Мастера 2.4 с первым апачем.
> Сделал:
> соотв. симлинки
> cgi.load в /etc/httpd2/conf/mods-enabled
> Directory_cgibin_default.conf в /etc/httpd2/conf/extra-enabled
>
> прописал
> cgi=yes в mods-start.d/000-default.conf
> Directory_cgibin_default=yes в extra-start.d/000-default.conf
>
> Убрал
> <IfModule authz_host_module>
> Order allow,deny
> Allow from all
> </IfModule>
> из /etc/httpd2/conf/extra-available/Directory_cgibin_default.conf,
> потому как апач ругамся на order и Allow и падал...
>
> Права на каталог и файлы скриптов перебрал все, какие только можно... И
> все равно выдает Error 403 ...
>
> PS: Пробовал в полгода назад. Не помню как, но получилось уж очень
> ректальным способом. Чего не хотелось бы повторять.
>
Перенёс содержимое файла
etc/httpd2/conf/extra-available/Directory_cgibin_default.conf в
/etc/httpd2/conf/sites-available/default.conf. Скрипт test-cgi
заработал, printenv - нет. Возможно с перлом проблемы. В логе
[Mon Sep 15 13:58:17 2008] [error] [client 192.168.224.250] Premature
end of script headers: printenv
--
С уважением, А.Куликовский.
Гимназия №1, г.Дзержинск, РБ
prev parent reply other threads:[~2008-09-15 11:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-12 11:24 "А. Куликовский"
2008-09-12 14:44 ` Aleksey Avdeev
2008-09-12 15:43 ` "А. Куликовский"
2008-09-13 9:37 ` Timur Batyrshin
2008-09-15 11:16 ` "А. Куликовский" [this message]
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=48CE4423.2030400@tut.by \
--to=kae@tut.by \
--cc=sysadmins@lists.altlinux.org \
/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 sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git