Forum Moderators: phranque

Message Too Old, No Replies

change path for logs files apache server

         

thosecars82

4:40 pm on Oct 10, 2008 (gmt 0)

10+ Year Member



Hello
I have this problem. It turns out that I tried to see the logs file from my hosting company's server and I got a message telling me that I did not have rights to do that thing. I tried to change rights and I could not. Then I got in touch with the hosting company and they told me they still are not able to provide that service to their clients but they are working on that. I asked them when I would be able to check the log files and they did not want to give me a dead line, nor even a time frame. Anyways, I just thought there might be some way to change the place where the logs are kept into a new path to which I have access and then I would be able to check my logs which is useful. I thought there might be some chance that this could be done by placing some code into the .htaccess file. Am I right?
Any suggestion?
Thanks

jdMorgan

5:01 pm on Oct 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This cannot be done in .htaccess. Logging is configured at the server configuration level. I suggest that you need a new host.

Jim

g1smd

5:10 pm on Oct 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Have you signed up for Google Analytics. That will show you a lot of information about real visitors.

If you are looking for information about bots and so on, then you will need your server logs.

You can make a log file of sorts by using a PHP script to record each visitor and some details, but it isn't as accurate as the real server logs and is a drag on performance.