LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-12-2011, 01:20 AM   #1
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,615

Rep: Reputation: Disabled
Editing SARG to link it to custom location.


Hello all,
I am using SARG for squid report analysis. And it is working fine. But I want to know if there is some custom configuration possible to link the SARG image at the top of the page to my custom location instead of its default homepage on sourceforge? For the ease of understanding, I am attaching the page screenshot here. The SARG image I am talking about is the one on the top in blue colour. It is linked to sarg.sourceforge.net and I want it to link it to my sarg homepage.
Attached Images
File Type: png sarg.png (178.4 KB, 5 views)
 
Old 01-12-2011, 07:41 PM   #2
rjcooks
Member
 
Registered: Jan 2008
Location: NE AR USA
Distribution: Fedora & openSUSE ...Mandriva-2010.1.
Posts: 81

Rep: Reputation: 20
I doubt there is an "application" to do what you want since the edit s/b pretty easy. I do not use SARG but have done a similar edit for other applications.

All you need to do is edit the source file that is generating the report page, comment-out the SARG hyperlink, copy and paste that line below|above the original, replace the SARG link with your own in the copy, check it for accuracy and then remove the comment marks on the new line you just made.

It is just HTML ... there are at least 52 other ways to accomplish the same thing. (E.g., just add your own logo and link beside/under/over the SARG logo ...).

If you do not know what is the source page for the link, try "View Page Source"(via right-click in Ffx) for the report page and it should lead you to it.
 
Old 01-12-2011, 11:18 PM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,615

Original Poster
Rep: Reputation: Disabled
Sarg is not a perl or php script that generates the HTML pages. It is more than that. And it generates whole lot of HTML pages with sarg hyperlink. I do not want to edit every html page generated. MRTG and some other applications have this option of setting the hyperlinks in configuration files but I do not see this in sarg.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Sarg to monitor Squid not success. Cannot see sarg.conf file !!! Help me. ducloiag Linux - Networking 2 11-30-2010 08:32 PM
SARG: *** stack smashing detected ***: sarg terminated Aborted btaylor1988 Linux - Server 0 06-10-2008 03:28 AM
intall software in custom location zero_cool666 Linux - Software 3 05-13-2008 12:57 PM
Location for Custom udev Rules Toods Slackware 7 11-19-2007 12:42 PM
Howto: Install D-Link DWL-G650 Atheros Wireless PCMCIA Card on UserLinux (Debian Sarg jsaints Linux - Wireless Networking 2 04-16-2006 11:11 PM


All times are GMT -5. The time now is 07:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration