HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Tips/Tricks/Mods (http://www.howtoforge.com/forums/forumdisplay.php?f=29)
-   -   [logrotate] change name of directory "stats" (http://www.howtoforge.com/forums/showthread.php?t=58745)

stefek143 17th September 2012 11:41

[logrotate] change name of directory "stats"
 
Hello,
I' using ISPConfig3 on centos, all works perfectly but one think I need to do. every website have folder "stats" where is saved a logrotates to awstats or webalizer, I need to change this folder name. now is $HOME/stats . In cron every 24h is creating a new folder, even when I delete folder stats. Is possible to change name of this folder "stats" ?

till 17th September 2012 11:50

The name is not configurable in ispconfig, so you would have to change the paths in the apache plugin and cron_daily.php script.

stefek143 17th September 2012 12:01

apache plugin ? where can I find it?

till 17th September 2012 12:12

/usr/local/isponfig/server/plugins-available/


All times are GMT +2. The time now is 12:05.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.