Skip to content

Web UI functions, but git operations produce HTTP 404 #199

@brainchild0

Description

@brainchild0

In a deployment of the application, the web interface functions properly, but not operations from a git client connecting through HTTP.

For example, it fails when I attempt to clone using the https URL shown in the web interface.

Visiting the path of the repository in the browser shows a code 404, and the browser page shows the error text "raptor not found".

The source code and screen capture for the error page are shown below.

I have the latest tree from master, revision 37f00ae, and run have the setup scripts.


<!DOCTYPE html>
<html>
  <head><title>Page not found</title></head>
  <style>
      a img { border: 0 }
      body { background-color: #caecf6 }
      #noraptor {
        left: 0%;
        position: fixed;
        top: 60%;
      }
      #notfound {
        background: url(/gitprep.cgi/mojo/notfound.png);
        height: 62px;
        left: 50%;
        margin-left: -153px;
        margin-top: -31px;
        position:absolute;
        top: 50%;
        width: 306px;
      }
    </style>
  <body>
    <a href="https://gitprep.example.tld/">
      <img alt="Bye!" id="noraptor" src="/gitprep.cgi/mojo/noraptor.png">
</a>    <div id="notfound"></div>
  </body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

Screenshot from 2023-08-12 17-38-22_

Metadata

Metadata

Assignees

No one assigned

    Labels

    needinfoReply/feedback expected

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions