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

Documentation: HTTPS Links to Documentation Point to Folder Structure #1607

Open
sanssecours opened this Issue Sep 19, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@sanssecours
Contributor

sanssecours commented Sep 19, 2017

Step to Reproduce

Open one of the following links:

in your favorite browser.

Expected Result

The browser redirects you to a page, where you can learn more about Elektra

Actual Result

The pages displays the folder structure on the server. For example, below is the HTML output of curl https://doc.libelektra.org:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
 <head>
  <title>Index of /</title>
 </head>
 <body>
<h1>Index of /</h1>
  <table>
   <tr><th valign="top"><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr>
   <tr><th colspan="5"><hr></th></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="api/">api/</a></td><td align="right">2016-11-22 21:33  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="archive/">archive/</a></td><td align="right">2016-12-20 10:08  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="coverage/">coverage/</a></td><td align="right">2014-09-22 16:04  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="help/">help/</a></td><td align="right">2015-11-15 09:55  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="news/">news/</a></td><td align="right">2017-03-20 16:24  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="restapi/">restapi/</a></td><td align="right">2017-04-08 21:41  </td><td align="right">  - </td><td>&nbsp;</td></tr>
   <tr><th colspan="5"><hr></th></tr>
</table>
<address>Apache/2.4.10 (Debian) Server at doc.libelektra.org Port 443</address>
</body></html>

.

@sanssecours sanssecours added this to the 1.0.0 milestone Sep 19, 2017

@markus2330

This comment has been minimized.

Show comment
Hide comment
@markus2330

markus2330 Sep 20, 2017

Contributor

Thank you for reporting! Do you want the directory listing beautified or should it be part of the web site?

Contributor

markus2330 commented Sep 20, 2017

Thank you for reporting! Do you want the directory listing beautified or should it be part of the web site?

@sanssecours

This comment has been minimized.

Show comment
Hide comment
@sanssecours

sanssecours Sep 21, 2017

Contributor

Do you want the directory listing beautified or should it be part of the web site?

I do not think the directory listing is very useful in the case of https://doc.libelektra.org. The bigger problem here is the non-uniform behavior of HTTP and HTTPS links however. For example:

In my opinion both links should point to the same introductory page of the documentation, like

. If the folder structure is intentional, then I think the pages for

look okay, since most people wont enter these addresses manually anyway.

Contributor

sanssecours commented Sep 21, 2017

Do you want the directory listing beautified or should it be part of the web site?

I do not think the directory listing is very useful in the case of https://doc.libelektra.org. The bigger problem here is the non-uniform behavior of HTTP and HTTPS links however. For example:

In my opinion both links should point to the same introductory page of the documentation, like

. If the folder structure is intentional, then I think the pages for

look okay, since most people wont enter these addresses manually anyway.

@markus2330 markus2330 removed this from the 1.0.0 milestone Jan 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment