I installed Apache2 via compiling the source code. It was installed at /usr/local/apache2.
It is very strange that I can only put files in /usr/local/apache2/htdocs
to let others access html files via HTTP.
If I put files in other directory, Apache said this on the browser
403 Forbidden
You don't have permission to access / on this server
But I have already even set the mod of the folder and files under the folder as 0777. I have also set all parent directories searchable.
I haven't encounter this problem before.
Can anyone help me? Thanks.