Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
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.
Hi,
I would like to easily access and read my servers web logs on a Suse 9.xx server.
I am trying to determine how many people read 1 image in particular and thus would like to check the web log to see how many times it was loaded.
How would I go about this? I have full putty access...
So far I have found /var/log but I could not make sense of the logs in there...
Thank you for your help in advance!
Edit*: I also checked the /var/log/apache2/access_log file but although it looked like it recorded any requests for my file.
PS: Is there a way to change the output of those log files to a "cleaner" look? You know, timestamp on the left and record on the right?
Thank you, I tried that but with the grep command simply nothing happens. Thats for both the image and the date.
I downloaded the whole access_log and search in it using notepad but couldn't find a reference to the image ((Try it here).
Does this log really record all acces?
It should be 2 case to check for this.
First, if it is the only web site you host check following line in your httpd.conf, is it point to the correct log file?
Quote:
CustomLog logs/access_log combined
Second case, if you do virtual host and your site is one of it, check <VirtualHost> directive in your httpd.conf again, is it pointing to the correct log file as you look for?
It should be 2 case to check for this.
First, if it is the only web site you host check following line in your httpd.conf, is it point to the correct log file?
Iam unable to find the httpd.conf. the find command does not get me anywhere...
For the purposes of sending this picture in emails it would be impossible to display it directly in the browser. Should I do this just to test this or would I always have to do that?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.