On Tue, Jun 6, 2017 at 6:15 PM, Richard Hipp <d...@sqlite.org> wrote: > On 6/6/17, Johan Kuuse <jo...@kuu.se> wrote: >> Hi, >> >> Is there any way to access the Fossil built-in webpages using the "fossil >> http"? >> In the example below, I try to access the /setup page from localhost, >> but it seems I don't get authorized. Instead I get redirected to the >> /login page. > > You have to log in as a user with "s" (superuser) permission in order > to access the /setup page. If you try to access /setup without the > right permissions, you get redirected. > > Log in first, then try again.
Maybe I did not make myself very clear. I am running "fossil http" from the command line. Is there a way to first "login" from the command line, and then access built-in pages such as "/setup", also from the command line? My idea is to make a script which parses the output from all builtin pages. BR, Johan > > -- > D. Richard Hipp _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users