Originally posted by NickFitz
View Post
- 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.
Logging in...
Previously on "Apache Logs?"
Collapse
-
I dont think its possible in .htaccessOriginally posted by Platypus View PostYes, but when you're hosted, you can't access httpd.conf
So part of my question was absolutely, can these work in .htaccess?
mod_log_config - Apache HTTP Server Version 2.4
Leave a comment:
-
Don't the directives go into httpd.conf?Originally posted by Platypus View PostNot 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?
Leave a comment:
-
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_logLast edited by Platypus; 23 June 2014, 11:04.Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers

Leave a comment: