LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-18-2010, 01:05 AM   #1
ytd
Member
 
Registered: Jan 2009
Posts: 205

Rep: Reputation: 31
How do I webalizer a specific link / URL ?


Hello everyone,

I have a question for you guys. How do I monitor a URL (link) in my server ? I want to see how many times a page has been accessed. In webalizer, there is such thing but there's a TOP 30 URL access, and I want to monitor (count) a specific URL. Is that possible ? If yes, how and what do I need to do.

They say:

Securing and Optimizing Linux: RedHat Edition -A Hands on Guide
Prev Chapter 30. Optional component to install with Apache Next
30.3. Configure the /etc/webalizer.conf file

The /etc/webalizer.conf is the default configuration file for Webalizer. With it, you can specify which directories or pages in your web site to analyze, which URLs to hide, and so on. By default, the Webalizer program will install a sample configuration file named webalizer.conf.sample under the /etc/ directory of Linux. You can use this file to configure your choices and then rename it webalizer.conf, and the Webalizer program will be able to find and use it. A lot of options exist and it's important to read the documentation that comes with Webalizer for more information on all of the different setting and parameters. Also, it's important to note that we comment in this Webalizer configuration file only the most common and used parameters.

Edit the webalizer.conf.sample file, vi /etc/webalizer.conf.sample or create the webalizer.conf file, touch /etc/webalizer.conf and add/change in this file:

LogFile /var/log/httpd/access_log
OutputDir /home/httpd/usage
Incremental yes
PageType htm*
PageType cgi
PageType php
HideURL *.gif
HideURL *.GIF
HideURL *.jpg
HideURL *.JPG
HideURL *.ra
IgnoreURL /taskbar*


But I don't get it, what should I type in order for the webalizer to monitor a specific URL.

Thanks in advance.
 
Old 02-18-2010, 06:33 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
A lot of options exist and it's important to read the documentation that comes with Webalizer for more information on all of the different setting and parameters.

IncludeURL name

http://www.mrunix.net/webalizer/webalizer.1.html
 
Old 02-19-2010, 06:49 AM   #3
ytd
Member
 
Registered: Jan 2009
Posts: 205

Original Poster
Rep: Reputation: 31
One last question (I hope )

How do I need to write ?

IncludeURL http://mysite/webalizerpage

or do I need to enter just the webpage, for example:

/thewebalizerpagethatIneedtomonitor/

Maybe it sounds silly, but... I preffer to ask rather than to test.
 
Old 02-19-2010, 07:19 AM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
If your type /thewebalizerpagethatIneedtomonitor/ in your browser does it work ?

If not then you need to use the URL (URI)

http://en.wikipedia.org/wiki/Uniform...Ls_as_locators

Sometimes trying things is quicker.
 
Old 02-20-2010, 02:38 AM   #5
ytd
Member
 
Registered: Jan 2009
Posts: 205

Original Poster
Rep: Reputation: 31
I can't test it, don't have enough time.
Ofc it dosen't work if I only type /thewebalizerpagethatInedtomonitor/
I already put http://www.mysite/thewebalizerpage/

I hope it will work.
 
Old 03-09-2010, 02:27 PM   #6
Sanford Stein
Member
 
Registered: Jun 2008
Location: Evanston, Illinois
Distribution: RHEL 6.4
Posts: 126

Rep: Reputation: 17
A followup question: Is it possible to have two webalizers running on the same server, one which provides monthly usage stats for the server in general, and another which provides stats for a specific domain only?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to short url(link) munna_dude General 9 08-31-2007 03:31 AM
Link to URL raylhm Linux - Desktop 2 10-24-2006 09:37 PM
webalizer url mnauta Linux - Software 2 02-08-2005 12:57 PM
How do I link a file to a URL site. AZDAVE Linux - Networking 2 10-14-2004 06:30 PM
URL Link association berkough Red Hat 1 07-19-2004 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:58 PM.

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
Open Source Consulting | Domain Registration