Re: how to configure monodoc-http
weiwufeng <[email protected]> Sat, 12 May 2007 16:21:42 -0700 (PDT)
| Newsgroups | gmane.comp.gnome.mono.documentation |
|---|---|
| Message-ID | <[email protected]> |
weiwufeng-2 wrote: > > > I want to access the monodoc-http from other computer. > But the monodoc-http listen on 127.0.0.1. > How do I configure the monodoc-http to listen on other address. > -- > <[email protected]> > _______________________________________________ > Mono-docs-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-docs-list > > I have edited the monodoc-http file. So I solve the problem. Now this file content is #!/bin/bash export LANG=C unset port port=6140 while test -z "$port" ; do port=$RANDOM if [ $port -lt 1025 ] || netstat -a -n | grep -q :$port ; then unset port fi done clear echo -e "\n\nThe XSP web server is starting now. To view the monodoc pages, your" echo -e "web browser will open http://localhost:$port/ now.\n\n" #(sleep 5; sensible-browser http://localhost:$port/) & exec xsp --root /usr/lib/monodoc/web --port $port --address 0.0.0.0 apple@apple:~$ -- View this message in context: http://www.nabble.com/how-to-configure-monodoc-http-tf3731219.html#a10450706 Sent from the Mono - Documentation mailing list archive at Nabble.com. _______________________________________________ Mono-docs-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-docs-list