Results 1 to 5 of 5

Thread: How to turn on apache logs in free bsd?

  1. #1
    Junior Member
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default How to turn on apache logs in free bsd?

    Hi, can you teach me how to turn on apache logs in free bsd?

    Thanks.

  2. #2
    Contributors amitabh's Avatar
    Join Date
    Jul 2008
    Location
    New Delhi
    Posts
    123
    Thanks
    0
    Thanked 5 Times in 4 Posts
    Rep Power
    9

    Default

    Have you changed any specific settings in your httpd.conf file? Otherwise, Apache by default logs both access and errors.

    Take a look at this page:
    Apache Log Files

  3. #3
    Is that all you got? rockdalinux's Avatar
    Join Date
    May 2005
    Location
    Planet Vegeta
    Posts
    987
    Thanks
    27
    Thanked 71 Times in 62 Posts
    Rep Power
    20

    Default

    Yes, as posted by amitabh, apache logs are turnned on by default. Use the following commands to see about log files:
    Code:
    ls -l /var/log/httpd-access.log
    tail -f /var/log/httpd-access.log
    more /var/log/httpd-access.log
    Do you have any specific error?
    Rocky Jr.
    What's wrong? I hope I am not making you uncomfortable...

    Never send a boy to do a mans job.

  4. #4
    Junior Member
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Thanks bro, its works..!!

  5. #5
    Member
    Join Date
    Jul 2008
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Before that check and see whether the Apache services is running or not. If not, restart the service

    /usr/local/etc/rc.d/apache22 restart

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Debian Linux Mail Sever Logs Files
    By Dj_Lord in forum Ubuntu / Debian
    Replies: 7
    Last Post: 18th November 2007, 08:11 AM
  2. RedHat Linux turn off beep
    By sweta in forum Linux hardware
    Replies: 1
    Last Post: 10th August 2007, 07:58 PM
  3. Enabling Audit logs using psacct
    By ccubed in forum Getting started tutorials
    Replies: 1
    Last Post: 25th June 2007, 09:07 PM
  4. Turn on Telnet for a Red Hat Enterprise Linux
    By raj in forum Linux software
    Replies: 1
    Last Post: 20th December 2006, 02:40 AM
  5. CVS logs how to
    By rajuk in forum Linux software
    Replies: 1
    Last Post: 14th December 2006, 04:44 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •