This tutorial only applies to websites hosted on Apache Servers
If your website is being hosted on someone else's server, your web access-log is most likely
in your root ("www") directory. This makes it easy for you to open up the log from within your
own browser, but it has the drawback of allowing anyone to view your web logs. Here
is code to password protect the file, and compress it into the GZIP format (I did not write this
code -- there is a link to the author in the code itself). Add the following code to your
.htaccess file:
Related Links: Using the Web Access-log |
Access-log entries
Want to discuss this article, or other development issues? Visit our
message boards!
Or contact us directly with a comment or question on this article: click here !
|