On Tue, Feb 10, 2015 at 6:42 PM, Richard Hipp <d...@sqlite.org> wrote:

> I keep most of my Fossil repos in a common directory: ~/www/repos.  I
> currently have 64 of them sitting there.
>

A tip for those _not_ using their own web server (e.g. for those using CGI
over apache): keep your repos OUT of your wwwroot so that (A) nobody can
copy the repo files directly via the webserver and (B) you don't have to
fiddle with .htaccess to restrict (A).

e.g. in my public repos i put all the .fsl files in ~/fossil, and my
~/www/..../*.cgi points to those.

If your CGI environment runs scripts as your own user account (as opposed
to a generic wwwuser), make sure the repo files have 0600 permissions so
that nobody else who shares that machine can read them via their own shell
accounts. Also make sure that the directory you store them in is writable
(for the sqlite temp files).

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to