View Issue Details

IDProjectCategoryView StatusLast Update
0016730CentOS-8httpdpublic2019-11-14 09:20
Reporterjbs 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version8.0.1905 
Target VersionFixed in Version 
Summary0016730: httpd landing page not accessible.
DescriptionAfter installing httpd, the centos 8 apache landing page is not accessible.
Steps To Reproducednf install httpd
service httpd start
firewall-cmd --add-service=http --permanent
firewall-cmd --reload
curl 127.0.0.0
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>

You don't have permission to access /
on this server.


Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.


</body></html>

Additional Information/etc/httpd/conf.d/welcome.conf (below) points to file /usr/share/httpd/noindex/index.html but this file does not exists:
ls -als /usr/share/httpd/noindex
0 drwxr-xr-x. 5 root root 44 Nov 12 09:51 common
8 -rw-r--r--. 1 root root 4288 Jul 30 03:14 index.html.en-US
8 -rw-r--r--. 1 root root 4467 Jun 14 04:37 index.html.es-ES
4 -rw-r--r--. 1 root root 4006 Jun 14 04:37 index.html.zh-CN
4 -rw-r--r--. 1 root root 4006 Jun 14 04:37 index.html.zh-HK
4 -rw-r--r--. 1 root root 4006 Jun 14 04:37 index.html.zh-TW

Possible solutions:
1. change welcome.conf to point to one of the available files;
2. ln -s /usr/share/httpd/noindex/index.html.en-US /usr/share/httpd/noindex/index.html

***** /etc/httpd/conf.d/welcome.conf *****
<LocationMatch "^/+$">
    Options -Indexes
    ErrorDocument 403 /.noindex.html
</LocationMatch>

<Directory /usr/share/httpd/noindex>
    AllowOverride None
    Require all granted
</Directory>

Alias /.noindex.html /usr/share/httpd/noindex/index.html
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-11-14 09:20 jbs New Issue