[OpenWrt-Tickets] [OpenWrt] #3393: symlink cgi in httpd.c of BusyBox 1.8.2

OpenWrt openwrt-devel at lists.openwrt.org
Sat May 3 06:59:30 CEST 2008


#3393: symlink cgi  in httpd.c of BusyBox 1.8.2
----------------------+-----------------------------------------------------
 Reporter:  orkid     |       Owner:  developers   
     Type:  defect    |      Status:  new          
 Priority:  normal    |   Milestone:               
Component:  packages  |    Keywords:  busybox httpd
----------------------+-----------------------------------------------------
 rrd.cgi is a symlink in /www:
 /var/www/rrd.cgi -> /var/lib/rrdcollect/rrd.cgi

 the following is run to get verbose information on the console:
 httpd -vv -f -h /www

 execution of rrd.cgi is attempted from a lan computer by pointing browser
 to http://OpenWRT_ip/cgi-bin/rrd.cgi, and fails with a 404 error. Verbose
 console log on OpenWRT router shows:
 [::ffff:192.168.2.102]:41527: url:/cgi-bin/rrd.cgi
 [::ffff:192.168.2.102]:41527: response:404

 see similar problem reported here:
 http://busybox.net/lists/busybox/2008-February/030010.html
 and patch (untested by me), here:
 http://busybox.net/lists/busybox/2008-February/030070.html

-- 
Ticket URL: <https://dev.openwrt.org/ticket/3393>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology


More information about the openwrt-tickets mailing list