• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reply to: Apache Logs?

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Apache Logs?"

Collapse

  • Platypus
    replied
    Originally posted by NickFitz View Post
    Thanks, Nick, I can view stats but there are no log files to see.

    Leave a comment:


  • Platypus
    replied
    Originally posted by FiveTimes View Post
    I dont think its possible in .htaccess
    Yeah, you're right. Thanks

    Leave a comment:


  • NickFitz
    replied
    Is this relevant? Web Logs and Statistics - Support Portal

    Leave a comment:


  • FiveTimes
    replied
    Originally posted by Platypus View Post
    Yes, but when you're hosted, you can't access httpd.conf

    So part of my question was absolutely, can these work in .htaccess?
    I dont think its possible in .htaccess

    mod_log_config - Apache HTTP Server Version 2.4

    Leave a comment:


  • Platypus
    replied
    Originally posted by stek View Post
    Don't the directives go into httpd.conf?
    Yes, but when you're hosted, you can't access httpd.conf

    So part of my question was absolutely, can these work in .htaccess?

    Leave a comment:


  • stek
    replied
    Originally posted by Platypus View Post
    Not unconnected with my other thread. I have a client website hosted with easyspace. I can't find any log files, so I'm assuming that perhaps they are switched off. I'd like to see the logs so I can try to debug my other problem

    I added this into .htaccess
    CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b"

    Now I get this with each website access:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, support@iomart.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.


    So my numpty question is: what did I do wrong?
    Don't the directives go into httpd.conf?

    Leave a comment:


  • Platypus
    started a topic Apache Logs?

    Apache Logs?

    Not unconnected with my other thread. I have a client website hosted with easyspace. I can't find any log files, so I'm assuming that perhaps they are switched off. I'd like to see the logs so I can try to debug my other problem

    I added this into .htaccess
    CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b"

    Now I get this with each website access:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, support@iomart.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.


    So my numpty question is: what did I do wrong?

    EDIT: so I realised that I need an absolute path but I still get the error. And I also tried the ErrorLog directive. Same result as above.
    ErrorLog /vhost/vhost9/s/o/u/example.com/logs/error_log
    Last edited by Platypus; 23 June 2014, 11:04.
Working...
X