[Mono-docs-list] how to configure monodoc-http
weiwufeng
blackspace at 163.com
Sat May 12 19:21:42 EDT 2007
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.
> --
> <weiwufeng at sohu.com>
> _______________________________________________
> Mono-docs-list maillist - Mono-docs-list at lists.ximian.com
> 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 at 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.
More information about the Mono-docs-list
mailing list