Http git server - Arch Wiki Article

I have been attempting to make an http git server. I followed the Arch Wiki Article and it says to add this to the config file:

<Directory "/usr/lib/git-core*">
    Require all granted
</Directory>

But after this didn’t work I eventually changed it to this:

<Directory "/usr/lib/git-core/">
    Require all granted
</Directory>

Is the original recommendation from the Arch Wiki correct? If this is wrong how could I warn the wiki mods that it should be changed?

Done.

It’s a wiki, anyone can register with an account end edit the contents.
If you actively use arch, I’d suggest you register - documentation can always use more attention.

1 Like

Thank you , I will keep this in mind for the future.

Just a heads up, the application may be looking or an actual directory, and the above would fail. Especially if it is looking for one directory and it gets multiple.

Specifies a directory.

If you go through the logs, you may see that the suggested option was throwing an error because it was not a “valid” directory.

**Edit
The tags got dropped.

1 Like

I did notice the not valid in the logs, when trying to access any of my git repositories the logs would read 404, but it wasn’t too specific and didn’t say which.

1 Like