Documentation
Apache configuration
Edit the file httpd.conf.
1. Add the following Apache directive, if it's not yet set :
HostnameLookups On
This directive allows PHP to know the origin (countries) of the visitors requests.
2. You should also remove the automatic listing of directories :
<Directory /var/www/>
Options -Indexes FollowSymLinks MultiViews
</Directory>
3. Deny access to the log files :
<Files ~ "\.log$">
Order deny,allow
Deny from all
</Files>
4. Deny access to the sushee cache files, by placing a .htaccess containing :
<FilesMatch "^cache">
Order Deny,Allow
Deny from All
</FilesMatch>
<FilesMatch "^tmp">
Order Deny,Allow
Deny from All
</FilesMatch>
<FilesMatch "^pdf">
Order Deny,Allow
Deny from All
</FilesMatch>
into the sushee "Files" directory.
Don't forget to restart Apache :
/etc/init.d/httpd restart
The path to restart Apache can vary and depends on the Linux distribution you are using. It can also be:
/etc/init.d/apache restart
or
/etc/init.d/apache2 restart