Incorrect default install path for Apache on Mac

Alex Smith alex.smith.93 at
Tue May 24 01:30:13 CEST 2011

On Mac install goes more like this however, it won't install to the default htdocs dir on a mac:
make get-git
make NEEDS_LIBICONV=YesPlease get-git
sudo make NEEDS_LIBICONV=YesPlease install

Instead it installs to as evidenced by the Terminal:
install -m 0755 -d /var/www/htdocs/cgit
install -m 0755 cgit /var/www/htdocs/cgit/cgit.cgi
install -m 0755 -d /var/www/htdocs/cgit
install -m 0644 cgit.css /var/www/htdocs/cgit/cgit.css
install -m 0644 cgit.png /var/www/htdocs/cgit/cgit.png
install -m 0755 -d /usr/lib/cgit/filters
install -m 0755 filters/* /usr/lib/cgit/filters

Default directory for Mac web documents (i.e. htdocs) is: /Library/WebServer/Documents

I feel I can easily just move all files under /var/www/htdocs to this directory, but is it safe to move /usr/lib/cgit/filters?

Perhaps there should be a prompt for the user to enter the paths for these two directories? Just an option...


More information about the CGit mailing list