ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* Re: [Sysadmins] Проблема с работой скриптов в lightsquid.
  @ 2008-06-30  9:09 ` Alexey Shabalin
    0 siblings, 1 reply; 2+ messages in thread
From: Alexey Shabalin @ 2008-06-30  9:09 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Sysadmins] Проблема с работой скриптов в lightsquid.
  @ 2008-07-01  0:01     ` Alexey Shabalin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Shabalin @ 2008-07-01  0:01 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

30 июня 2008 г. 21:07 пользователь Сергей Дунин написал:
>   >  Order Allow,Deny
>   >  Allow from 127.0.0.1
>   >  Allow from 192.168.5.0/24
>   >  Allow from 192.168.6.0/24
> Спасибо!
> Но не помогает :(

тогда давай не будем заниматся шаманством и телепатией, а посмотрим
твои логи (или сам посмотри).


-- 
Alexey Shabalin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-01  0:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-30  9:09 ` [Sysadmins] Проблема с работой скриптов в lightsquid Alexey Shabalin
2008-07-01  0:01     ` Alexey Shabalin

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