httpd cannot access the directory aliased with Alias directive
Issue
- I configured an alias for http://localhost/repo.
Alias /repo "/repo/"
- But, I got the following error when I accessed the url.
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /repo/index.html
on this server.</p>
</body></html>
- SELinux is disabled, and file and directory permission doesn't have any problem.
Environment
Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
