Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
04-23-2012, 03:22 AM
|
#16
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep: 
|
I have re located as per yours previous post,, but still the webpage is getting same error...
Forbidden
You don't have permission to access /sarg/ on this server.
Apache/2.2.3 (CentOS) Server at 172.20.0.10 Port 8
|
|
|
04-23-2012, 03:23 AM
|
#17
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep: 
|
[root@gtsl ~]# locate exclude_codes
/root/sarg-2.3.1/exclude_codes
/usr/local/etc/exclude_codes
[root@gtsl ~]#
---------- Post added 04-23-12 at 01:54 PM ----------
[root@gtsl ~]# locate exclude_codes
/root/sarg-2.3.1/exclude_codes
/usr/local/etc/exclude_codes
[root@gtsl ~]#
|
|
|
04-23-2012, 03:29 AM
|
#18
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep: 
|
[root@gtsl local]# sarg -l /var/log/squid/access.log
SARG: Records in file: 48667, reading: 100.00%
SARG: Successful report generated
[root@gtsl local]#
i can able to generate the report, but it is not diplaying in the webpage.
http://172.20.0.10/sarg
Forbidden
You don't have permission to access /sarg/ on this server.
Apache/2.2.3 (CentOS) Server at 172.20.0.10 Port 80
|
|
|
04-23-2012, 03:39 AM
|
#19
|
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
|
Try to open the interface using this address-
http://172.20.0.10/sarg:80
|
|
|
04-23-2012, 03:41 AM
|
#20
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep: 
|
Not Found
The requested URL /sarg:80 was not found on this server.
Apache/2.2.3 (CentOS) Server at 172.20.0.10 Port 80
but report was generated succssfully,,pls find the below..
[root@gtsl sarg-2.3.1]# sarg
SARG: Records in file: 51376, reading: 100.00%
SARG: Successful report generated
[root@gtsl sarg-2.3.1]#
|
|
|
04-23-2012, 03:58 AM
|
#21
|
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
|
Ohhh, I'm sorry for the wrong post, actually it should be like this-
http://172.20.0.10:80/sarg
|
|
1 members found this post helpful.
|
04-23-2012, 04:06 AM
|
#22
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep: 
|
still the same error is been displaying
Not Found
The requested URL /sarg/ was not found on this server.
Apache/2.2.3 (CentOS) Server at 172.20.0.10 Port 80
|
|
|
04-23-2012, 04:14 AM
|
#23
|
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
|
Now you need to check if httpd service is running or not on this machine in which you installed sarg. And also check in /etc/httpd/conf/httpd.conf file that there should be an entry Listen 80, if it is listening on port 80.
|
|
|
04-23-2012, 06:37 AM
|
#24
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep: 
|
/etc/httpd/conf/httpd.conf
MaxRequestsPerChild 0
</IfModule>
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80
#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
|
|
|
04-23-2012, 10:03 PM
|
#25
|
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
|
In your sarg.conf configuration file you've set the output_dir to /var/www/sarg/ONE-SHOT
Quote:
output_dir /var/www/sarg/ONE-SHOT
|
Whereas when you manually generate the report it generates the report in /var/www/html/squid-reports directory.
Quote:
Destination report directory Default (/var/www/html/squid-reports)
|
This is the output from your post no. 7, checkout.
So, I think you need to set the directory path /var/www/html/squid-reports in sarg.conf file
Quote:
output_dir /var/www/html/squid-reports
|
Then try to check through browser whether it is opening or not.
|
|
|
04-24-2012, 02:23 AM
|
#26
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep: 
|
still its not working
# TAG: realtime_unauthenticated_records: ignore|show
# What to do with unauthenticated records in realtime report.
#
# realtime_unauthenticated_records: show
# TAG: byte_cost value no_cost_limit
# Cost per byte.
# Eg. byte_cost 0.01 100000000
# per byte cost = 0.01
# bytes with no cost = 100 Mb
# 0 = disable
#
# byte_cost 0.01 50000000
# TAG: squid24 on|off
# Compatilibity with squid version <= 2.4 when using emulate_http_log on
#
# squid24 off
output_dir /var/www/html/squid-reports
|
|
|
04-24-2012, 02:48 AM
|
#27
|
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
|
Post the output of these commands -
Code:
# locate sarg
# locate sarg.conf
|
|
|
04-24-2012, 06:58 AM
|
#28
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep: 
|
[root@gtsl ~]# locate sarg.conf
/etc/sarg/sarg.conf.default
/etc/sarg/sarg.conf.rpmnew
/etc/sarg/sarg.conf.rpmsave
/root/.Trash/www/sarg/sarg.conf
/root/.Trash/www/sarg/sarg.conf.default
/root/sarg-2.3.1/sarg.conf
/usr/local/etc/sarg.conf
/usr/local/etc/sarg.conf.default
/usr/local/sarg/sarg.conf
/usr/local/sarg/sarg.conf.default
[root@gtsl ~]#
# locate sarg
1_google_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-clients1_google_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-clients4_google_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-clients4_google_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-col_stc_s_msn_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-connect_facebook_net.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-crl_microsoft_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-csi_gstatic_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-d7_zedo_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-dnn506yrbagrg_cloudfront_net.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-ds_addthis_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-error_unsupported_request_method.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-extended_validation_ssl_verisign_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-filetransferenabled_mail_google_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-g_microsoft_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-global_msads_net.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-go_microsoft_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-google_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-googleads_g_doubleclick_net.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-googleads_g_doubleclick_net_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-ib_adnxs_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-id_google_co_in.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-image2_pubmatic_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-images2_cardekho_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-images_cardekho_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-images_jdmagicbox_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-images_justdial_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-img1_kuikr_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-img_carwale_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-img_kuikr_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-in_msn_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-jainscar_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-kaw_stb00_s_msn_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-kaw_stb01_s_msn_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-kaw_stb_s_msn_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-kaw_stc_s_msn_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-kaw_stj_s_msn_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-lh6_googleusercontent_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-m_addthisedge_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-mail_attachment_googleusercontent_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-mail_google_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-merc_connect_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-mscrl_microsoft_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-msntest_serving_sys_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-myaccount_sulekha_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-pagead2_googlesyndication_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-partner_googleadservices_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-pixel_rubiconproject_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-platform_twitter_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-plusone_google_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-pnrws_skype_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-property_sulekha_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-pubads_g_doubleclick_net.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-r_openx_net.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-rad_msn_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-rssgov_windows_microsoft_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-s7_addthis_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-seal_verisign_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-ssl_gstatic_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-ssl_gstatic_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-static_cardekho_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-static_kuikr_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-static_quikr_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-stjp_msn_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-tag_admeld_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-talk_google_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-toolbar_google_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-toolbarqueries_clients_google_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-toolbarqueries_google_co_in.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-toolbarqueries_google_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-tools_google_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-tracking_in_sokrati_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-udc_msn_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-urs_microsoft_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-w1_luckyorange_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www4_smartadserver_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_axisbank_co_in_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_axisbank_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_billdesk_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_bing_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_cardekho_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_carwale_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_ceoconnect_in.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_facebook_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_gm_opensocial_googleusercontent_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_google_analytics_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_google_co_in.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_google_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_google_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_googleadservices_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_hageltech_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_heromotors_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_justdial_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_magicbricks_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_merc_connect_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_merc_connect_com_1375.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_rajarathnamconstruction_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_sulekha_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-www_vizury_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-wwww_justdial_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.208/tt172.20.0.208-xcdn_xgraph_net.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.218/tt172.20.0.218-client_software_real_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.218/tt172.20.0.218-fod_aka_oss1_performgroup_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.218/tt172.20.0.218-fod_aka_oss1_performgroup_com_1935.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.218/tt172.20.0.218-fod_aka_oss1_performgroup_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.218/tt172.20.0.218-www_cbse_nic_in.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.218/tt172.20.0.218-www_facebook_com_443.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.218/tt172.20.0.218-www_igoogle_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.218/tt172.20.0.218-www_rteindia_com.html
/var/www/sarg/ONE-SHOT/2012Apr23-2012Apr23.6/172.20.0.218/tt172.20.0.218-www_unitedbankofindia_com.html
/var/www/sarg/ONE-SHOT/images/datetime.png
/var/www/sarg/ONE-SHOT/images/graph.png
/var/www/sarg/ONE-SHOT/images/sarg-squidguard-block.png
/var/www/sarg/ONE-SHOT/images/sarg.png
[root@gtsl ~]#
|
|
|
04-24-2012, 10:45 PM
|
#29
|
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
|
In your /etc/httpd/conf.c/sarg.conf file these are the entries. Right?
Quote:
Alias /sarg /var/www/sarg
<Directory /var/www/sarg>
DirectoryIndex index.html
Order deny,allow
Allow from all
Allow from 127.0.0.1
Allow from ::1
# Allow from your-workstation.com
</Directory>
|
Change it to-
Quote:
Alias /sarg /var/www/html
<Directory /var/www/html>
DirectoryIndex index.html
Order deny,allow
Allow from all
Allow from 127.0.0.1
Allow from ::1
# Allow from your-workstation.com
</Directory>
|
This is because it seems that your reports are generating in /var/www/html directory. Am I right?
Now again try to access with the browser. I'm not sure about this but you can try this.
Last edited by Satyaveer Arya; 04-24-2012 at 10:46 PM.
|
|
1 members found this post helpful.
|
04-25-2012, 12:03 AM
|
#30
|
Member
Registered: Apr 2012
Posts: 65
Original Poster
Rep: 
|
Thanks alot for helping,
it working.... 
---------- Post added 04-25-12 at 10:34 AM ----------
is there any way to block torrents in squid...
|
|
|
All times are GMT -5. The time now is 02:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|