Skip to content
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

git clone over https does not work #919

Open
gsnw opened this issue Oct 3, 2022 · 0 comments
Open

git clone over https does not work #919

gsnw opened this issue Oct 3, 2022 · 0 comments

Comments

@gsnw
Copy link

gsnw commented Oct 3, 2022

My bare repository test.git ist outside the public folder /www/htdocs/repo.
I can open the test.git repository via gitlist, but when I try to clone it via https, I become the following error message.

When I execute https://myurl.com/test.git in my Browser I land in gitlist.

[2022-10-03T08:07:56.191991+02:00] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET https://myurl.com/test.git/info/refs"" at /www/htdocs/vendor/symfony/http-kernel/EventListener/RouterListener.php line 130 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET https://myurl.com/test.git/info/refs\" at /www/htdocs/vendor/symfony/http-kernel/EventListener/RouterListener.php:130)\n[previous exception] [object] (Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/test.git/info/refs/\". at /www/htdocs/vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:74)"} []

I don't know if this a bug or if I need to link the repository folder inside the gitlist public web folder and change the clone URL directly to the repo folder.

Over SSH everything works fine and the info/refs file exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants