Enable particular user access SARG reports without admin password

if you want a particular user using the user-manager to be able to view the sarg reports without being prompted for admin password, you have to enable SARG reports in the user panel for that user, for SME server 7.4. And then modify httpd.conf located in /etc/httpd/conf/ as following :

#-------------------------------------------------------
# SARG generated squid access log reports web repository
#-------------------------------------------------------

Alias /squid /var/www/sarg

AllowOverride None
Options +Indexes
order deny,allow
deny from all
allow from $localAccess $externalSSLAccess
AuthName "SME Server Manager"
AuthType Basic
AuthExternal pwauth
require user admin valid-user

#---------------------------------------------------
# End of SARG generated squid access log reports web
#---------------------------------------------------

Then type this command line :

expand-template /etc/httpd/conf/httpd.conf
/etc/rc7.d/S86httpd-e-smith restart

then use that user to log in again .

No comments:

Post a Comment

You might also like:

Related Posts with Thumbnails
 
 
 
 
Copyright © The Life and Work