Kristian Kielhofner wrote: > On 3/27/08, Philip Prindeville <[EMAIL PROTECTED]> wrote: >> >> I'd prefer to keep the web server as unmodified as possible... >> >> There should also be a way to do this that isn't specific to Polycoms, >> since provisioning a Sipura is probably 95% of the same stuff. >> >> -Philip >> > > Philip, > > I agree %100. I see two ways to do it: > > 1) Either have the MAC address before hand (entered manually or maybe > scrape it from dnsmasq.leases or something) to prevent mini_httpd from > returning a 404 > > 2) Use apache and a custom error handler > > I took this approach because I wanted to play with the mini_httpd > source code anyway :). >
I bet lighttpd would handle this more gracefully than mini_httpd does, but not sure that it's worth the extra weight in the image. The dsnmasq.static file is a good way to specify the IP address given to a specific MAC address. That's the main reason I added it. Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
