View Single Post
  #5 (permalink)  
Old 02-04-2008, 15:20
Bootz47 Bootz47 is offline
new member
 
Join Date: Mar 2008
Posts: 5
Default

Hi, just to update.

The fix I eventualy settled on was to create a stats folder in the webspace, then use cPanel to create a Cron job that runs at 2am each day.

The cron command is "cp /home/[user]/tmp/webalizer/[subaccount].[domain].[tdl]/* /home/[user]/public_html/[subaccount].[tdl]/stats/"

I then used 'Password Protected Directories' to restrict folder access. So far it seems to be running ok.

The 'Password Protected Directories' script creates a .htaccess file and a password file. Does anyone know where cPanel stores it's passwords? It just seems a shame to have to duplicate the username and password in 'Password Protected Directories' when there already in cPanel some place. It would be better, I feel, to have a more generic .htaccess file in the stats folder and just change the 'required' user line. Much easier and less chance of the passwords getting out of sync.
Reply With Quote