I tried the command recommended by marc jansen in his reply to my original question:

fossil cgi /Library/WebServer/CGI-**Executables/repo.cgi

which yielded ( I unintentionally skipped the last line in my previous post):

8<-------------------------------------------------------
Status: 501 Not Implemented
X-Frame-Options: SAMEORIGIN
Cache-control: no-cache
Content-Type: text/html; charset=utf-8
Content-Length: 66

<html><body><p>Bad Request: missing REQUEST_URI</p></body></html>
8<-------------------------------------------------------

any more information I can provide?

j.

On Sun, 29 Sep 2013 17:35:39 +0200, Stephan Beal <sgb...@googlemail.com> wrote:

On Sun, Sep 29, 2013 at 5:28 PM, j. van den hoff
<veedeeh...@googlemail.com>wrote:

thanks for responding. just discovered that actually it were the
permissions of the `fossil' executable which where insufficient (not
executable for the rest of the world...). but I tried your recommendation
anyway and get the output

Status: 501 Not Implemented


That one is new to me, but luckily it only appears one time in the sources:

/*
** Send a reply indicating that the HTTP request was malformed
*/
static NORETURN void malformed_request(const char *zMsg){
  cgi_set_status(501, "Not Implemented");
  cgi_printf(
    "<html><body><p>Bad Request: %s</p></body></html>\n", zMsg
  );
  cgi_reply();
  fossil_exit(0);
}



X-Frame-Options: SAMEORIGIN
Cache-control: no-cache
Content-Type: text/html; charset=utf-8
Content-Length: 66

which I presume is normal (despite me not making sense of the first two
lines ...), right?


What request are you sending it? What are the 66 bytes after the header?
That will show us at what point (in the C sources) it's failing.

Regarding the docs: the current docs elude (vaguely) to the permissions for
that setup, but i'll improve them a bit in a few minutes.



--
Using Opera's revolutionary email client: http://www.opera.com/mail/
_______________________________________________
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