homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

CustomLog directive

 7:51 am on Nov 9, 2011 (gmt 0)

I have a virtual dedicated server with GoDaddy. One of my scripts serves a download from a directory that is above the public_html directory for security reasons. Is it possible to set up the apache/http directives such that a log is created of accesses to this directory? Or perhaps this is just a contradiction in terms?



 8:58 am on Nov 9, 2011 (gmt 0)

... don't you want to log the access to the script? presumably there is no other way of accessing the download if it is above the root.


 9:02 am on Nov 9, 2011 (gmt 0)

Thanks topr8. Indeed, I am tracking the attempt to download. I am hoping to add a check on whether the download was a success.


 10:27 am on Nov 9, 2011 (gmt 0)

... ok, i figured you'd be doing the obvious already!

sorry i don't know what your next step should be.


 1:20 pm on Nov 9, 2011 (gmt 0)

if it is above the root then do you use a script to serve it?

if so the script could create a log of it's own and write what you want.

If not a script then how do you serve it?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved