The Sourcebench
Here in the sourcebench you can find a variety of little helpers, articles, code snipplets and sometimes even just random thoughts of our community.
By default the apache configuration cuts the filenames to a certain value. The following directive allows the full file name to be shown in the directory listing of a virtual host.
Adding this line to the directory section of your virtual host will allow apache to show the full length filenames in the directory list. Be sure that the option Indexes is also set
IndexOptions NameWidth=*
Developers using subversion as version control system might have encountered that it is possible to browse through the .svn directories in their checked out repositories. Of course this can cause some security related problems as sources can be spied out. This little apache configuration allows restricting this behaviour.
<directorymatch \.svn>
Order allow,deny
Deny from all
</directorymatch>
It is also possible to put the following statement to a .htaccess file to have a similar effect.
RewriteEngine on
RewriteRule .*\.svn.* http://%{SERVER_NAME}/