Set listen=127.0.0.1?

192.168.1.2 is an IP address treated as internal server point within your LAN.

On Thu, Jun 9, 2011 at 8:03 AM, z_axis <z_axis@163.com> wrote:
hi, sirs
I have a python CGI application which can be visited locally or remotely
when started by `python -m CGIHTTPServer`. However, under YAWS i can only
visit it locally.
where, locally means both the browser and the python application are on
same machine.

> cat ~/yaws.conf
<server www.qachina.com>
    port = 8000
    listen = 192.168.1.2
    docroot = /media/G/www/qachina/
    access_log = false
    appmods = <cgi-bin, yaws_appmod_cgi>
</server>

BTW, "listen=0.0.0.0" still doesnot work!

Sincerely!


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list



--

Best Regards.

--- Y-H. H.