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.

Best Regards,
Johan


fossil setting | grep localauth
localauth            (local)  0

printf "GET /setup HTTP/1.0\n\n" | fossil http --localauth
HTTP/1.0 302 Moved Temporarily
Date: Tue, 6 Jun 2017 16:00:02 GMT
Connection: close
X-UA-Compatible: IE=edge
Location: http://login?g=/setup
X-Frame-Options: SAMEORIGIN
Cache-control: no-cache
Content-Type: text/html; charset=utf-8
Content-Length: 68

<html>
<p>Redirect to Location: http://login?g=/setup
</p>
</html>


fossil version
This is fossil version 2.3 [1fff403a68] 2017-06-02 02:23:56 UTC
_______________________________________________
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