ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Алексей Синицын" <asinitsinster@gmail.com>
To: "ALT Linux sysadmin discuss" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] netams & apache2
Date: Sun, 3 Feb 2008 16:51:30 +0300
Message-ID: <a1b0b2150802030551r7248812cqb42838d070d04660@mail.gmail.com> (raw)
In-Reply-To: <47A5C465.9000508@altlinux.ru>

03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):

> >>  Но заработало частично, 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 покажите.
> >
>


16:49 al@wind ~ $ mount -l
/dev/sda2 on / type xfs (rw)
/proc on /proc type proc (rw,noexec,nosuid,gid=19)
sysfs on /sys type sysfs (rw)
udevfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
shmfs on /dev/shm type tmpfs (rw)
/dev/sda3 on /var type reiserfs (rw,noexec,nosuid,nodev)
/dev/sda6 on /home type xfs (rw)
/dev/sda7 on /usr/local type xfs (rw)
jacktmp on /var/lib/jack/tmp type ramfs (rw)
/tmp on /tmp type tmpfs (rw,noexec,nosuid,nodev,size=300m)
none on /proc/fs/nfsd type nfsd (rw)
16:49 al@wind ~ $


> Да, и еще конфиг виртуального хоста в apache.
>

Это вот про это?

16:48 root@wind ~ # cat /etc/httpd2/conf/addon.d/A.netams-stat.conf
<IfModule alias_module>
<IfModule cgi_module>
<IfModule dir_module>
    <Directory /var/www/apache2/addon-modules/netams/stat>
        AddHandler cgi-script .cgi
        Options FollowSymLinks ExecCGI
        AllowOverride All
        Order Allow,Deny
        Allow from localhost
        DirectoryIndex index.html index.cgi admintool.cgi
    </Directory>

    Alias /stat/ "/var/www/apache2/addon-modules/netams/stat/"
</IfModule>
</IfModule>
</IfModule>
                                                            #
                                     16:50 root@wind ~ #

  reply	other threads:[~2008-02-03 13:51 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
2008-02-03 13:40       ` Andrey Konnov
2008-02-03 13:51         ` Алексей Синицын [this message]
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=a1b0b2150802030551r7248812cqb42838d070d04660@mail.gmail.com \
    --to=asinitsinster@gmail.com \
    --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