Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 431  / 2 Years ago, tue, november 8, 2022, 7:17:01

I have a little web server I run to help me at work. In an effort to neaten up the internal bits, I made a folder named "doc" for documents.



When i try to navigate to that folder I get You don't have permission to access /doc/ on this server. So then, i looked at the permissions:




drwxrwxr-x 2 J0h J0h 4096 Nov 7 22:46 doc/
drwxrwxr-x 5 J0h J0h 4096 Nov 6 12:35 ece/
drwxrwxr-x 2 J0h J0h 4096 Nov 6 12:35 exe/


permissions of "doc" looks legit. ece/ and exe both work, and have the same permissions.



So then I changed the name of the folder doc to docs and it works. So evidently the folder-name doc is a black listed folder name? is that right? what is going one here?


More From » permissions

 Answers
6

Most default installations of apache have a redirection that /doc/ points to /usr/share/doc/ that you can read the apache documentation when browsing to http://localhost/doc/. You have to look in your apache configuration /etc/apache2/apache2.conf or other files in the folder /etc/apache2/ to find out.



If it's not that please add to your question what /var/log/apache2/error.log says when you navigate to this folder via web browser.


[#28513] Wednesday, November 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eballxeye

Total Points: 370
Total Questions: 91
Total Answers: 139

Location: Suriname
Member since Sat, Jan 1, 2022
2 Years ago
eballxeye questions
Sun, Jan 8, 23, 18:23, 1 Year ago
Sun, Sep 11, 22, 23:24, 2 Years ago
Tue, Dec 14, 21, 07:15, 2 Years ago
;