About the regexp setting, tried: set th1-uri-regexp ".*" http -asynchronous http://localhost:8085
With and without quote marks, didn't work. I ran it from the command line, and it still says: url not allowed... hints? 2014-06-12 8:12 GMT-04:30 Abilio Marques <amarq...@smartappsla.com>: > While looking for hooks history in Fossil (as Ron Wilson said I wasn't the > first) I came into this: > > > http://lists.fossil-scm.org:8080/pipermail/fossil-users/2011-January/003921.html > > Where D. Richard Hipp said that: > > ...But in order to implement this different mechanism, I need example C code > for launching a background process in windows that is not associated with an > console. Doing that is easy in Unix,but I'm not sure how to do it in > windows. ..." > > I used to work with Windows, so I wrote a tiny demo that I hope suits what > Richard needed. It's attached into this email. I rather go directly into a > shell that having to set up a server. Ran it with mingw, and I'm pretty > sure will run with any Microsoft compiler. > > This one will print "it was a great day" whenever executed from the > command line, with one or more parameters. If I run it as a spawned > process, it won't print anything at all into the console. I want to check > if this is the needed behaviour. Please Richard, can you confirm it, or > tell me exactly what you need. I can write the Windows counterpart of the > Unix code, and even test it (have one MS box at home). > > > PS: thanks for the security measure, I will test it ASAP > > > > 2014-06-12 7:06 GMT-04:30 Jan Nijtmans <jan.nijtm...@gmail.com>: > > 2014-06-12 13:32 GMT+02:00 Abilio Marques <amarq...@smartappsla.com>: >> > trying to run this from command line: >> > >> > fossil test-th-eval 'http "http://localhost:8085/test?a=1" >> > fossil test-th-eval 'http "http://localhost:8085/test" >> > fossil test-th-eval 'http "http://localhost:8085/" >> > fossil test-th-eval 'http "http://www.google.com" >> > >> > While on the other side I keep a nc -klv 8085 running. I only get this >> > whenever I execute the command: "TH_ERROR: url not allowed" >> > Tried using -asynchronous, but same results. What am I doing wrong >> >> >> You should set the "th1-uri-regexp" setting to ".*" or >> "http://localhost:8085/.*" (in your case). >> This is a security measure. >> >> Regards, >> Jan Nijtmans >> _______________________________________________ >> fossil-users mailing list >> fossil-users@lists.fossil-scm.org >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >> > >
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users