On Sunday 06 October 2002 12:28, Robbe wrote:

> > Gianni Johansson <[EMAIL PROTECTED]> writes:
> > You will see WORKAROUND: blah blah blah warnings in your log file if
> > you have fproxy.* / nodeinfo.* entries in your config file. You can
> > safely ignore them, or remove the obsolete lines as instructed to
> > make the warnings go away.
>
> If I actually want to carry the settings over to the new architecture,
> how'd I do that? Something like
>   s/^fproxy\./mainport.params.servlet.1./
>   s/^nodeinfo\./mainport.params.servlet.2./
> ?

I'm not much of a regex guru, but I think that that would work, with the 
caveat that port level stuff all moved to mainport.* and is now shared.

e.g. fproxy.port=8888 -> mainport.port=8888

Look at freenet.node.Main.addDefaultHTTPPortParams() for examples.
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/freenet/freenet/src/freenet/node/Main.java?rev=1.83&content-type=text/vnd.viewcvs-markup

If you really want to run a separate instance of fproxy or nodeinfo on a 
separate port you can defeat my obsolete parameter hack by using different 
service names.

e.g. fproxy->fproxy_hide, make sure fproxy_hide.port is something other than 
8888 and make sure it appears in the services list.

--gj

 

_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to