Posted By

d3f0 on 01/11/08


Tagged

apache hg mercurial


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vvarp


Apache Configuration For Mercurial


 / Published in: Apache
 

  1. # Password zone
  2. <Location /hg/ecla>
  3. AuthType Basic
  4. Order allow,deny
  5. Allow from all
  6. AuthName "Mercurial private area"
  7. Require valid-user
  8. AuthUserFile /var/hg/passfile.pass
  9. </Location>
  10.  
  11.  
  12. RewriteEngine on
  13. RewriteRule ^/hg(.*) /var/hg/hgwebdir.cgi$1
  14.  
  15. <Directory "/var/hg/">
  16. Options ExecCGI
  17. AddHandler cgi-script .cgi
  18. </Directory>

Report this snippet  

You need to login to post a comment.