Linux Apache2

Don't Log :

    
      SetEnvIf Remote_Addr "^((127\.0\.0\.1)|(\:\:1)|(192\.168\.1\.[1-2][0-5]?[0-6]))$" dontlog
      ErrorLog ${APACHE_LOG_DIR}/error.log
      CustomLog ${APACHE_LOG_DIR}/access.log combined env=!dontlog
    
  

After first install:

  • a2enmod rewrite
  • a2ensite default-ssl.conf
  • rm /var/www/html -rf && ln -s /path/to/html /var/www/html
  • Add <Directory ...> to /etc/apache2/sites-available/default-ssl.conf

Tidak ada komentar:

Posting Komentar

Posting Lebih Baru Posting Lama Beranda