My browser firefox can’t read the localhost library. This is the srv/www/htdocs directory. I’d deleted some default necessary files like index.php, favicon.ico, etc. from here. I’d leave just the phpmyadmin folder and then copy my personal files to here, but I have an error in firefox:
You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Wed May 13 14:34:24 2009
I think the problem is the directory is read-protected. I know what is it, but I don’t know why. Because I have got a root legal (rwx) above the htdocs folder.
As I explained in the other thread that is because the so called “directory listing” is switched of by default. (And it will not serve index.html because you deleted it).This is because not everybody likes it that the complete contents of a directory is been offered to everybody (security). You switch it on in the Apache configuration. As you may, know that can be done on different places and on a directory by directory config or for the whole tree. It can be done inside a directory (.htaccess) or centraly. The central config is in /etc/apache2/httpd.conf. There you find at least something about ‘directory listing’ and "directoryIndex’.
When you run an Apache server you should at least try to read some of the documentation. When Apache is installed, you will find its doumentation at