ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Alexey Shabalin" <a.shabalin@gmail.com>
To: "ALT Linux sysadmin discuss" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Проблема с работой скриптов в lightsquid.
Date: Mon, 30 Jun 2008 13:09:25 +0400
Message-ID: <b966c1e40806300209y5414ed15s2405842a994685e1@mail.gmail.com> (raw)
In-Reply-To: <86c9dbe50806292245l6f22161du435a299f7e0b9464@mail.gmail.com>

30 июня 2008 г. 9:45 пользователь Сергей Дунин написал:
> Здравствуйте!
> У меня OC - altlinux-release-office-server-20080609-alt0.M40.1
> Настроил lightsquid но при запросе статистики отображается только тело
> index.cgi.
> Что где поверить подкрутить, что бы отображалась а нужном виде.
> В апаче добавил:
> # Include the virtual host configurations:
> Include conf/sites-enabled/*.conf
> <Directory "/var/www/apache2/html/reports/traffic">
> Options FollowSymLinks +ExecCGI
> AddHandler cgi-script .cgi
> </Directory>
>
> <Directory "/var/www/apache2/cgi-bin">
> Options +ExecCGI
> AddHandler cgi-script .cgi
> </Directory>
> Вообще статистика собирается но не могу заставить работать скрипты.
>
попробуйте так(подставив свои директории):

cat /etc/httpd2/conf/addon.d/A.lightsquid.conf

Alias /squid /var/www/html/lightsquid

<Directory /var/www/html/lightsquid>
    AllowOverride AuthConfig Limit
    Options ExecCGI
    AddHandler cgi-script .cgi
    Order Allow,Deny
    Allow from 127.0.0.1
    Allow from 192.168.5.0/24
    Allow from 192.168.6.0/24
</Directory>


-- 
Alexey Shabalin

       reply	other threads:[~2008-06-30  9:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-30  9:09 ` Alexey Shabalin [this message]
2008-07-01  0:01     ` Alexey Shabalin

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=b966c1e40806300209y5414ed15s2405842a994685e1@mail.gmail.com \
    --to=a.shabalin@gmail.com \
    --cc=shaba@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