33
edits
(changed filepath for hgweb.cgi) |
mNo edit summary |
||
Line 15: | Line 15: | ||
receive@murphy (~/public_html) % chmod 711 hg | receive@murphy (~/public_html) % chmod 711 hg | ||
receive@murphy (~/public_html) % cd hg | receive@murphy (~/public_html) % cd hg | ||
receive@murphy (~/public_html/hg) % cp /usr/share/doc/mercurial-common/examples/hgweb.cgi . | receive@murphy (~/public_html/hg) % cp /usr/share/doc/mercurial-common/examples/hgweb.cgi ./index.cgi | ||
receive@murphy (~/public_html/hg) % chmod 755 | receive@murphy (~/public_html/hg) % chmod 755 index.cgi | ||
=== Step 2 - Set the repo location === | === Step 2 - Set the repo location === | ||
Open the | Open the index.cgi in nano (or any other text editor) and on the second to last line replace /YOUR/HOME/DIR/YOUR/REPO with the location of the repo you created. For me, this is /home/member/r/receive/hgrepo - the location will depend on where your home directory is. Optionally, replace "repository name" with something cooler. | ||
=== Step 3 - Set Up htaccess === | === Step 3 - Set Up htaccess === |
edits