Why novncproxy is directory listing on <ipadd>:6080/include/ ?

Solution Verified - Updated -

Issue

  • Why issuing curl on novncproxy is showing the directory listing ?
# lsof -ni:6080
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
nova-novn 1217 nova    4u  IPv4  30004      0t0  TCP *:6080 (LISTEN)

# curl -s http://192.168.122.124:6080/include/
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html>
<title>Directory listing for /include/</title>
<body>
<h2>Directory listing for /include/</h2>
<hr>
<ul>
<li><a href="base.css">base.css</a>
<li><a href="base64.js">base64.js</a>
<li><a href="black.css">black.css</a>
<li><a href="blue.css">blue.css</a>
<li><a href="des.js">des.js</a>
<li><a href="display.js">display.js</a>
<li><a href="input.js">input.js</a>
<li><a href="jsunzip.js">jsunzip.js</a>
<li><a href="keyboard.js">keyboard.js</a>
<li><a href="keysym.js">keysym.js</a>
<li><a href="keysymdef.js">keysymdef.js</a>
<li><a href="logo.js">logo.js</a>
<li><a href="Orbitron700.ttf">Orbitron700.ttf</a>
<li><a href="Orbitron700.woff">Orbitron700.woff</a>
<li><a href="playback.js">playback.js</a>
<li><a href="rfb.js">rfb.js</a>
<li><a href="ui.js">ui.js</a>
<li><a href="util.js">util.js</a>
<li><a href="websock.js">websock.js</a>
<li><a href="webutil.js">webutil.js</a>
</ul>
<hr>
</body>
</html>
  • curl on novncproxy should show something like access forbidden.

Environment

  • Red Hat OpenStack Platform 7
  • Red Hat OpenStack Platform 8
  • python-websockify-0.6.0-2.el7ost.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content