Sorok versi Apache2

Apabila seseorang cuba mengakses fail yang tidak terdapat pada document root pelayan web apache2, versinya akan terserlah. Untuk mengelakkan ini dari berlaku, ikut langkah berikut pada Debian 5 anda:

  1. Tambah ServerSignature Off sebelum
    </VirtualHost>
    

    seperti berikut di dalam /etc/apache2/sites-enabled/000-default

    ServerSignature Off
    </VirtualHost>
    
  2. Mulakan semula servis apache2
    /etc/init.d/apache2 restart
  3. Hasilnya seperti dibawah jika index.php tidak wujud di dalam /var/www pada pelayan web.

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Buzz (aka. Google Reader)