Hi,

Then I tried like uhttpd //port=81
and http server is up and running. I do not know why port 80 got denied.

It means port 80 is occupied! Forgot about windows option, use -b:
   netstat -anb
You'll see executable names.

Then I issued from IE http://127.0.0.1:81/
and got this error ( obivious ) == HTTP 403 Forbidden
and uhttpd_access.log is updated to this effect like :

127.0.0.1 - - [15/Dec/2008:12:51:06 +0000] "GET / HTTP/1.1" 403 48 ""
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET
CLR 2.0.50727)"
127.0.0.1 - - [15/Dec/2008:12:51:41 +0000] "GET / HTTP/1.1" 403 48 ""
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET
CLR 2.0.50727)"
127.0.0.1 - - [15/Dec/2008:12:52:20 +0000] "GET / HTTP/1.1" 403 48 ""
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET
CLR 2.0.50727)"

Perhaps current directory does not contain index.html or index.htm files. Use //documentroot=DIR to specify folder with index.html, or use //indexes if you want to allow directory listing in case index.html is missing. If you have ever used to edit apache configuration, it's easy to understand the meaning of options. You can print help using //help switch.


Regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to