ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Bochkaryov <misha@rattler.kiev.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Apache2+Perl+awstats
Date: Wed, 20 Aug 2008 11:25:07 +0300
Message-ID: <48ABD4E3.4000802@rattler.kiev.ua> (raw)
In-Reply-To: <48ABC8A5.6060005@diyaorg.dp.ua>

Roman Savochenko пишет:
> Приветствую Всех.
> 
> Пытаюсь поднять awstats на Apache2 так он вместо исполнения *.pl скипта 
> достаёт его содержимое или ругается на отсутствие доступа.
> 
> Конфигурация следующая:
> <IfModule mod_alias.c>
>    Alias /awstatsclasses "/usr/share/awstats/wwwroot/classes/"
>    Alias /awstats-icon/  "/usr/share/awstats/wwwroot/icon/"
>    Alias /awstatscss "/usr/share/awstats/wwwroot/css/"
>    ScriptAlias /cgi-bin/  /usr/share/awstats/wwwroot/cgi-bin/
>    ScriptAlias /awstats/  /usr/share/awstats/wwwroot/cgi-bin/
> 
> <Location "/awstats">
>  Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
> </Location>
> </IfModule>
> 
> Вся информация по настройке awstats в интеренте не содержит ничего более 
> конфигурации выше. Что-же в Apache2 такого отключено, что оно не работает?

1. а сам mod_cgi включен?
2. права на CGI-скрипт корректны?

Еще советую посмотреть на директивы AddHandler, SetHandler.

-- 
Michael Bochkaryov


  parent reply	other threads:[~2008-08-20  8:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-20  7:32 Roman Savochenko
2008-08-20  8:23 ` Michael Shigorin
2008-08-21  8:23   ` Roman Savochenko
2008-08-20  8:25 ` Michael Bochkaryov [this message]
2008-08-21  8:22   ` Roman Savochenko

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=48ABD4E3.4000802@rattler.kiev.ua \
    --to=misha@rattler.kiev.ua \
    --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