This post explains how to set (and enable) document root as a symbolic link for Apache web server. By default symbolic link is not enabled and error message will be displayed instead of requested page. In a few steps (and config files), Apache on Fedora Core 20 can be configured to allow symbolic links and display directory listing.
Placing .htaccess file to the directory will hide it from the parent directory index. Simply said, directory with .htaccess file will be hidden by default in Apache 2.2 and later. To display directories with .htaccess file, document root (or subtree) should have set ShowForbidden index option. ShowForbidden is a new option in Apache 2.2 and it’s not set by default.
In this post you will find how to make stylish listing generated by the Apache server. This is not just another CSS solution. The trick is in configuring Apache to generate XML directory list and to use browser (IE, FF, Opera, Safari …) to transform XML to the HTML. You will have full freedom to modify and style auto generated directory listings.
In Apache world, the index of a directory can come from one of two sources – a file written by the user, typically called index.html or a listing generated by the server. If you enable automatic index generation (with Options +Indexes), Apache will create a HTML directory list for the URL without index page. With a few lines in httpd.conf, directory list can become a XML document.
Apache can generate directory indexes, automatically, similar to the Unix ls command or the Win32 dir shell command. With default settings, parent directory will be displayed too. If you want to hide parent directory from the directory list, use IndexIgnore directive.