Skip to content

Gitweb: can't retrieve changesets when protected by HTTP basic auth #218

Description

@agilare

I installed source-integration plugin in my Mantis BT 2.1

I have a gitweb working correctly and a repo configured for this in Mantis > reposity.

When my gitweb directory is not protected and I import it in Mantis, the importation is successfull.

However, when I add htaccess protection to my gitweb directory and configure in this way the related repo in Mantis, the import fails with this message :

Retrieving master ... failed.
'https://gitweb.interijob.ch?p=dev.git;a=commit;h=master' did not return any data.

For information, when I access my gitweb with this URL in a browser https://my_htaccess_username:my_htaccess_password@gitweb.interijob.ch access is successful.

Maybe my protection of gitweb directory method is not correct for Mantis source-integration ?

AuthType Basic
AuthName "git repository"
AuthUserFile /home/clients/123456/.htpasswd
require valid-user

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions