I put a .htaccess in my /var/www/html/pub/ folder to allow indexing of the contents, like ftp. This is what i put:
Every directory in pub/ has this option enabled as well. And this is what i have set in my commonhttpd.conf
Code:
#
# AccessFileName: The name of the file to look for in each directory
# for access control information.
#
AccessFileName .htaccess
#
# The following lines prevent .htaccess files from being viewed by
# Web clients. Since .htaccess files often contain authorization
# information, access is disallowed for security reasons. Comment
# these lines out if you want Web visitors to see the contents of
# .htaccess files. If you change the AccessFileName directive above,
# be sure to make the corresponding changes here.
#
# Also, folks tend to use names such as .htpasswd for password
# files, so this will protect those as well.
#
<IfModule mod_access.c>
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
</IfModule>
Here's a link to an info page, too
http://httpd.apache.org/docs/howto/htaccess.html
Hope this helps.