Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Apache httpd.conf questions

  • 18-06-2003 2:19pm
    #1
    Registered Users, Registered Users 2 Posts: 74 ✭✭


    1. Why are there two similar Apache HTTPD directives 'TransferLog' and also 'CustomLog'. Will both directives work simultaneously if allowed to ?

    2. My RedHat/Apache installation places log files in /var/log/httd/ but the actual directives in httpd.conf point to /etc/httpd/logs which contains a symbolic link to /var/log/httpd/
    Why the need for the symbolic link ?

    3. Does ServerName actually serve any purpose ?


Comments

  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    Apache can log in a number of ways. The custom log allows you some more control

    The softlink on your setup is probably due to partition sizes etc., Logfiles can grow very quickly. One of our clients, for example, managed to produce nearly a GB of error logs in one day due to a bug in a PHP script!

    If you aren't sure about a directives purpose check the documentation. I don't mean to sound like a smartarse, but the Apache docs are full of information - although at times a lot of it may seem unnecessary.


  • Registered Users, Registered Users 2 Posts: 74 ✭✭Cromwelly


    Thanks for the info, is there a set of circumstances where TransferLogs would be more appropriate ? I can't help feeling there's got to be a good reason for it to be there.

    I was confused between the Apache ServerName and the Hostname of the machine (RedHat Linux).


Advertisement