Skip to content

expected PATH_INFO is not set #3

@mark-kubacki

Description

@mark-kubacki

Given the request to http://127.0.0.1/cgit/xyz/ and the relevant resulting request headers as follows::
DOCUMENT_ROOT=/var/www/localhost/htdocs/cgit/
SCRIPT_FILENAME=/var/www/localhost/htdocs/cgit/tst
REQUEST_URI=/cgit/xyz/
SCRIPT_NAME=tst
... no PATH_INFO is set.

Expected is PATH_INFO /xyz/ or similar.

You can easily test that by this CGI script::
#!/bin/sh
echo Content-type: text/plain
echo Expires: 0
echo ""
/bin/env
/bin/date

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions