serving multiple hg repos on a mac
Dec. 15th, 2009 02:16 pmto get hgwebdir running on Snow Leopard
step 1: open /etc/apache2/httpd.conf
edit the "points to" directory to some directory of your choosing set up a cgi-bin rewrite for /hg mapping to /ome/directory/hgwebdir.cgi
step 2: add hgwebdir.cgi to /some/directory.
step 3: add the repos you want to add to the configuration file, see hgwebdir.cgi for more info
step 4: chmod 755 /some/directory
step 5: chmod -R 755 on your repo; also chmod 755 directories on up the directory tree.
-chown is probably not needed??
-web user is _www
also don't forget to start the webserver on system preferences.
step 1: open /etc/apache2/httpd.conf
edit the "points to" directory to some directory of your choosing set up a cgi-bin rewrite for /hg mapping to /ome/directory/hgwebdir.cgi
step 2: add hgwebdir.cgi to /some/directory.
step 3: add the repos you want to add to the configuration file, see hgwebdir.cgi for more info
step 4: chmod 755 /some/directory
step 5: chmod -R 755 on your repo; also chmod 755 directories on up the directory tree.
-chown is probably not needed??
-web user is _www
also don't forget to start the webserver on system preferences.