Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: apache: explicitly set index.php as DirectoryIndex #1718

Merged
merged 1 commit into from
Mar 27, 2021

Conversation

nodiscc
Copy link
Member

@nodiscc nodiscc commented Mar 7, 2021

WIthout this directive apache will try other default/global DirectoryIndex files resulting in useless file access/error messages in logs

[Sun Mar 07 14:04:25.383960 2021] [authz_core:error] [pid 946:tid 139985284290304] [client 10.0.0.1:42616] AH01630: client denied by server configuration: /var/www/links.example.org/index.html
[Sun Mar 07 14:04:25.384293 2021] [authz_core:error] [pid 946:tid 139985284290304] [client 10.0.0.1:42616] AH01630: client denied by server configuration: /var/www/links.example.org/index.cgi
[Sun Mar 07 14:04:25.384465 2021] [authz_core:error] [pid 946:tid 139985284290304] [client 10.0.0.1:42616] AH01630: client denied by server configuration: /var/www/links.example.org/index.pl

WIthout this directive apache will try other default/global DirectoryIndex files resulting in useless file access/error messages in logs

```
[Sun Mar 07 14:04:25.383960 2021] [authz_core:error] [pid 946:tid 139985284290304] [client 10.0.0.1:42616] AH01630: client denied by server configuration: /var/www/links.example.org/index.html
[Sun Mar 07 14:04:25.384293 2021] [authz_core:error] [pid 946:tid 139985284290304] [client 10.0.0.1:42616] AH01630: client denied by server configuration: /var/www/links.example.org/index.cgi
[Sun Mar 07 14:04:25.384465 2021] [authz_core:error] [pid 946:tid 139985284290304] [client 10.0.0.1:42616] AH01630: client denied by server configuration: /var/www/links.example.org/index.pl
```
@nodiscc nodiscc changed the title doc: apache: explicitely set index.php as DirectoryIndex doc: apache: explicitly set index.php as DirectoryIndex Mar 7, 2021
nodiscc added a commit to nodiscc/xsrv that referenced this pull request Mar 7, 2021
…es in logs at every page access

- fixes AH01630: client denied by server configuration: /var/www/links.example.org/index.cgi
- fixes #431
- ref. shaarli/Shaarli#1718
Copy link
Member

@ArthurHoaro ArthurHoaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@nodiscc nodiscc merged commit 8b8ed23 into master Mar 27, 2021
@nodiscc nodiscc deleted the doc-apache-directoryindex branch March 27, 2021 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants