LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-23-2012, 04:22 AM   #16
mail2ganesh.cse
Member
 
Registered: Apr 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled

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
 
Old 04-23-2012, 04:23 AM   #17
mail2ganesh.cse
Member
 
Registered: Apr 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
[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 ~]#
 
Old 04-23-2012, 04:29 AM   #18
mail2ganesh.cse
Member
 
Registered: Apr 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
[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
 
Old 04-23-2012, 04:39 AM   #19
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Try to open the interface using this address-

http://172.20.0.10/sarg:80
 
Old 04-23-2012, 04:41 AM   #20
mail2ganesh.cse
Member
 
Registered: Apr 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
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]#
 
Old 04-23-2012, 04:58 AM   #21
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
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.
Old 04-23-2012, 05:06 AM   #22
mail2ganesh.cse
Member
 
Registered: Apr 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-23-2012, 05:14 AM   #23
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
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.
 
Old 04-23-2012, 07:37 AM   #24
mail2ganesh.cse
Member
 
Registered: Apr 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
/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.
 
Old 04-23-2012, 11:03 PM   #25
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
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.
 
Old 04-24-2012, 03:23 AM   #26
mail2ganesh.cse
Member
 
Registered: Apr 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-24-2012, 03:48 AM   #27
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Post the output of these commands -

Code:
# locate sarg
# locate sarg.conf
 
Old 04-24-2012, 07:58 AM   #28
mail2ganesh.cse
Member
 
Registered: Apr 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
[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 ~]#
 
Old 04-24-2012, 11:45 PM   #29
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
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 11:46 PM.
 
1 members found this post helpful.
Old 04-25-2012, 01:03 AM   #30
mail2ganesh.cse
Member
 
Registered: Apr 2012
Posts: 65

Original Poster
Rep: Reputation: Disabled
Thanks alot for helping,

it working....

---------- Post added 04-25-12 at 10:34 AM ----------

is there any way to block torrents in squid...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sar report fernfrancis Linux - Newbie 6 05-31-2011 02:12 AM
[SOLVED] how to enable sar report gadhave.vikas Solaris / OpenSolaris 2 05-16-2011 11:24 AM
Need the meaning of outch/s in sar report pskumar Solaris / OpenSolaris 4 09-15-2010 07:00 AM
Issue with sar report pskumar Solaris / OpenSolaris 4 07-22-2010 02:17 PM
sar report mokku Linux - Newbie 2 08-14-2008 02:11 PM


All times are GMT -5. The time now is 10:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration