Serving a private directory under the default DocumentRoot

Solution In Progress - Updated -

Issue

I have problems with private directory in my /var/www/html/pista/index.html and virtual host in /srv/kako/www/index.html.
Private directory is specified in httpd.conf and virtual host is specified in /etc/httpd/conf.d/kako.conf.
When I type elinks://localhost/pista I got message "the requested URL was not found on this server" ;
when I type: elinks http://kako.com I have nice output from /srv/kako/www/index.html file.

Environment

  • Red Hat Enterprise Linux
  • 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.