Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.