smakofs
08-01-2006, 15:18
Everything's working pretty well with Oleg's firmware 1.9.2.7-7b, but I have 2 problems with busybox_httpd I'm still trying to figure out.
1) Custom mimetypes don't seem to work. Here's my /etc/httpd.conf:
[admin@WL-HDD cgi-bin]$ cat /etc/httpd.conf
A:*
.xml:text/xml
.mp4:video/mp4
[admin@WL-HDD cgi-bin]$
When I download an .xml file, it still returns application/octet-stream as the mime type
2) I can't get cgi-bin shell files to execute in the browser. I created a folder under my home directory called "cgi-bin" (which has execute permissions), and a sample script in there. I can run it fine from telnet, but when I access it via the browser, it gives me a 404. Any thoughts?
1) Custom mimetypes don't seem to work. Here's my /etc/httpd.conf:
[admin@WL-HDD cgi-bin]$ cat /etc/httpd.conf
A:*
.xml:text/xml
.mp4:video/mp4
[admin@WL-HDD cgi-bin]$
When I download an .xml file, it still returns application/octet-stream as the mime type
2) I can't get cgi-bin shell files to execute in the browser. I created a folder under my home directory called "cgi-bin" (which has execute permissions), and a sample script in there. I can run it fine from telnet, but when I access it via the browser, it gives me a 404. Any thoughts?