Linux Apache Web Server - Can't find access logs for a website

Posted on 2012-08-22
Last Modified: 2012-08-27
I'm looking for the access logs for a particular website on my linux apache server.  I can see the website directory but no log directory.  I also see the website in the sites-enabled folder.  Where can I find out the location of an access log for a particular website?
Question by:CodeRooster
    LVL 13

    Expert Comment

    by:Hugh McCurdy
    Have you looked in /var/log/httpd

    Accepted Solution

    Just figured it out.  I checked the config file for the site in the site-enabled folder where it has all the settings, including error logs and access/transfer logs.  Turns out this logging was commented out so nothing was being written.

    Author Closing Comment

    I was able to find the answer in the sites-enabled config file.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now