On Tue, Aug 20, 2013 at 10:25 PM, Stephan Beal <sgb...@googlemail.com>wrote:

> # cat .htaccess
> Options +ExecCGI +Indexes
> <IfModule mod_autoindex.c>
>  IndexOptions FancyIndexing NameWidth=*
> </ifModule>
> # doesn't work on my hoster :( AddHandler cgi-script .html
> DirectoryIndex index.cgi index.php index.html
>

And...

# cat index.cgi
#!/path/to/fossil
repository: /path/to/f2.fsl

i keep all of my repos in a directory under my home, outside the webroot so
they cannot be browsed (.htaccess rules could do that, but why bother?). On
my hoster CGIs run as me, so i have that freedom. i don't know that all
shared hosters run CGIs as the account holder (but suspect that most do).

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
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