• 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!

Apache Logs?

Platypus

Ducklike
Thanks received
182
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: 11:50
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?
 

Advertisers

Back
Top