From: Andrey Konnov <ankon@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] netams & apache2
Date: Sun, 03 Feb 2008 16:38:30 +0300
Message-ID: <47A5C3D6.3030806@altlinux.ru> (raw)
In-Reply-To: <a1b0b2150802030531k53bda25eha15620d68eaeb46@mail.gmail.com>
Алексей Синицын пишет:
> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>
>>> При установке и настройке netams возникла проблема с доступом через
>>> web интерфейс. Подключить модули авторизации я смог, диалог
>>> авторизации проходит нормально, при некорректной паре логин/пароль
>>> отваливает, при авторизации отдает страницу, но с ошибкой 500:
>>>
>>> The server encountered an internal error and was unable to complete
>>> your request. Either the server is overloaded or there was an error in
>>> a CGI script.
>>>
>>> Вот вывод в лог:
>>>
>>> [Sun Feb 03 10:26:13 2008] [crit] [client 127.0.0.1] configuration
>>> error: couldn't check access. No groups file?: /stat/
>>>
>>> Возможно я не все сделал в .htaccess? Там я добавил только
>> Можно .htaccess полностью увидеть?
>>
>>> Order allow,deny
>>> Allow from all
>>>
>>> По такому запросу гугль вывел на проблемы прехода с первого апача на
>>> второй, это похоже не отсюда. Может быть не все модули загружены?
>> Попробуйте authz_user_module подключить.
>>
>
> Спасибо, по подключении этого модуля заработало.
>
> Но заработало частично, http://localhost/stat перенаправляет на
> текущий день и выводит html, но http://localhost/stat/admintool.cgi по
> прежнему выдает ошибку 500, теперь такую:
>
> Error message:
> Premature end of script headers: admintool.cgi
>
> На всякий случай подключал все модули что-бы удостовериться что дело
> не в них, при этом картина та-же. В логе:
>
> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] (13)Permission
> denied: exec of
> '/var/www/apache2/addon-modules/netams/stat/admintool.cgi' failed
> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] Premature end of
> script headers: admintool.cgi
>
> На всякий случай:
>
> 16:26 root@wind ~ # cat /var/www/apache2/addon-modules/netams/stat/.htaccess
> Order allow,deny
> Allow from all
> #Deny from all
> #
>
> AuthName "NeTAMS Administrators Only"
> Require user admin
> <FilesMatch "\.(gif|jpe?g|png)$">
> Require valid-user
> Satisfy Any
> </FilesMatch>
> AuthType Basic
> AuthUserFile /var/www/apache2/addon-modules/netams/stat/.htpasswd
>
>
> 16:30 root@wind ~ # cat
> /var/www/apache2/addon-modules/netams/admintool/admin/.htaccess
> Order allow,deny
> Allow from all
> <Files *.cgi>
> AuthName "NetAMS Admin Authorization"
> AuthType Basic
> Require valid-user
> </Files>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
mount -l покажите.
--
Andrey Konnov
ankon at altlinux.ru
next prev parent reply other threads:[~2008-02-03 13:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-03 7:41 Алексей Синицын
2008-02-03 10:38 ` Andrey Konnov
2008-02-03 13:31 ` Алексей Синицын
2008-02-03 13:38 ` Andrey Konnov [this message]
2008-02-03 13:40 ` Andrey Konnov
2008-02-03 13:51 ` Алексей Синицын
2008-02-03 13:59 ` Andrey Konnov
2008-02-03 14:16 ` Алексей Синицын
2008-02-03 14:14 ` Andrey Konnov
2008-02-03 15:37 ` Алексей Синицын
2008-02-03 18:35 ` Andrey Konnov
2008-02-03 19:09 ` Алексей Синицын
2008-02-03 19:21 ` Andrey Konnov
2008-02-03 18:57 ` Andrey Konnov
2008-02-03 19:11 ` Алексей Синицын
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=47A5C3D6.3030806@altlinux.ru \
--to=ankon@altlinux.ru \
--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