Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed the web browsing interface viewgit on my server, in order to manage my git repositories. Everything works pretty well, but I bothered by the download option of every file.

Is there a possibility to disable the download option for some files or projects?

share|improve this question
up vote 1 down vote accepted

Use the possibility of a .htaccess file in the viewgit directory. You can use this to save every directory. If you call your viewgit site then, a popup for a username and a password will appear. This information are defined in the .htaccess and .htpasswd file

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.