[BusyBox] Question to httpd

Steven Scholz steven.scholz at imc-berlin.de
Mon Feb 10 09:31:03 UTC 2003


Vladimir,

>>correct me if I am wrong, but /etc/httpd.conf (i.e. the config file) is only
>>used for "ip address filtering and basic authentication" when
>>CONFIG_FEATURE_HTTPD_BASIC_AUTH is defined.
> 
> No.
> IP checking as checkperm(NULL, config->rmt_ip)

Well Config.in says

config CONFIG_FEATURE_HTTPD_BASIC_AUTH
         bool "  Enable Basic Authentication and IP address checking"
           Utilizes /etc/httpd.conf for security settings allowing
           ip address filtering and basic authentication on a per url basis.

And in httpd.c it looks as if /etc/httpd.conf only contains security stuff.

That's why I thought I don't need a /etc/httpd.conf when I don't enable 
CONFIG_FEATURE_HTTPD_BASIC_AUTH...

You see?

> ------------------------------------------------------------------------
> @@ -1519,7 +1521,6 @@
>  	if(length < 0)          // closed
>  		length = 0;
>  	body[length] = 0;       // always null terminate for safety
> -	urlArgs = body;
>        }
>      }

What happens if I don't correct this?


Steven




More information about the busybox mailing list