List Info

Thread: how to configure monodoc-http




how to configure monodoc-http
country flaguser name
China
2007-05-11 02:47:12
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.
-- 
<weiwufengsohu.com>
_______________________________________________
Mono-docs-list maillist  -  Mono-docs-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-docs-list

Re: how to configure monodoc-http
country flaguser name
United States
2007-05-12 18:21:42


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.
> -- 
> <weiwufengsohu.com>
> _______________________________________________
> Mono-docs-list maillist  -  Mono-docs-listlists.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 "nnThe XSP web server is starting now. To
view the monodoc pages,
your"
echo -e "web browser will open http://l
ocalhost:$port/) &

exec xsp --root /usr/lib/monodoc/web --port $port --address
0.0.0.0
appleapple:~$



-- 
View this message in context: http://www.nabble.com/how-to-configu
re-monodoc-http-tf3731219.html#a10450706
Sent from the Mono - Documentation mailing list archive at
Nabble.com.

_______________________________________________
Mono-docs-list maillist  -  Mono-docs-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-docs-list

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )