[Mono-list] how to configure monodoc-http

weiwufeng blackspace at 163.com
Sat May 12 19:12:36 EDT 2007


On Sat, 12 May 2007 12:06:27 -0400
Miguel de Icaza <miguel at novell.com> wrote:

> Hello,
> 
> > 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
> 
> Am not sure where that comes from, but Monodoc is merely an ASP.NET
> application, so you need to make sure your Apache is working properly.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 

Thank you.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:~$



-- 
<weiwufeng at sohu.com>



More information about the Mono-list mailing list