httpd.conf - filter IPs for different web paths or authentication?

Denys Vlasenko vda.linux at googlemail.com
Sun Apr 17 21:02:40 UTC 2011


On Tuesday 12 April 2011 11:10, Tomasz Czapiewski wrote:
> I have a problem that I need to give access to CGI scripts without 
> authentication for localhost and with authentication for other 
> hosts. Is it possible to do it somehow with BusyBox httpd?
> I even thought about making a symlink /var/www/admin to /var/www for 
> example and add authentication option for /var/www/admin but then I would 
> need to restrict access to /var/www for 127.0.0.1 IP only.
> 
> Would it be somehow possible?

Run two httpd's with different configs, one bound to 127.0.0.1:port
and the other to 0.0.0.0:port

-- 
vda


More information about the busybox mailing list