mini_httpd largefile support
Forum » Forum / Installing & Configuring Programs » mini_httpd largefile support
Started by: kpxalexkpxalex
On: 1257111680|%e %b %Y, %H:%M %Z|agohover
Number of posts: 8
rss icon RSS: New posts
mini_httpd largefile support
kpxalexkpxalex 1257111680|%e %b %Y, %H:%M %Z|agohover

I have written a little PHP script, to accsess my files from the internet. But i have a problem with files larger than 2GB. I can't download them (404 not found). I looked up the specifications of the mini_httpd webserver here and they say they have a support for files larger than 2GB. Does anyone know how to modify mini_httpd to solve this problem?

unfold mini_httpd largefile support by kpxalexkpxalex, 1257111680|%e %b %Y, %H:%M %Z|agohover
Re: mini_httpd largefile support
fraterfrater 1257114460|%e %b %Y, %H:%M %Z|agohover

Are you talking about a 2 MB file limit or 2 GB?

unfold Re: mini_httpd largefile support by fraterfrater, 1257114460|%e %b %Y, %H:%M %Z|agohover
Re: mini_httpd largefile support
TeinturManTeinturMan 1257116055|%e %b %Y, %H:%M %Z|agohover

Hi kpxalex, have you tried the AccessBook Feature pack?
it is a web interface allowing you to download your files from your Mybook…
it uses lighttpd…
http://highlevelbits.free.fr/index.php?option=com_content&view=category&id=53%3Awebserver-and-accessbook-white&Itemid=69&layout=default&lang=fr

Regards,

unfold Re: mini_httpd largefile support by TeinturManTeinturMan, 1257116055|%e %b %Y, %H:%M %Z|agohover
Re: mini_httpd largefile support
kpxalexkpxalex 1257148861|%e %b %Y, %H:%M %Z|agohover

I am talking about a 2GB limit. I try the AccessBook Feature pack.
Thanks for your answers

Regards

unfold Re: mini_httpd largefile support by kpxalexkpxalex, 1257148861|%e %b %Y, %H:%M %Z|agohover
Re: mini_httpd largefile support
kpxalexkpxalex 1257180371|%e %b %Y, %H:%M %Z|agohover

I tryed to install AccessBook but someting went wrong.
I installed the Feature Pack Manager and then AccessBook,
but wenn I try to access the AccessBook webinterface the connection breaks up after about 5s.
after a restart I have access for another 5s.
I have the MyBook version 01.01.14 and I installed the Feature Pack Manager after a firmeware update.

unfold Re: mini_httpd largefile support by kpxalexkpxalex, 1257180371|%e %b %Y, %H:%M %Z|agohover
Re: mini_httpd largefile support
TeinturManTeinturMan 1257201396|%e %b %Y, %H:%M %Z|agohover

Hi kpxalex,
frater found the solution for this problem :

Add the following line to the /opt/etc/lighttpd/lighttpd.conf file
server.event-handler = "poll"

i have just updated the Webserver Feature Pack to add this "Magic" line , so uninstalling Webserver Feature pack ,
then reinstalling it should solve the problem……

Many Thanks to Frater ( i have no idea how he could find this solution, i am very impressed… )

Regards,

last edited on 1257202119|%e %b %Y, %H:%M %Z|agohover by TeinturMan + show more
unfold Re: mini_httpd largefile support by TeinturManTeinturMan, 1257201396|%e %b %Y, %H:%M %Z|agohover
Re: mini_httpd largefile support
kpxalexkpxalex 1257238742|%e %b %Y, %H:%M %Z|agohover

Thank you verry much!

now it works great

unfold Re: mini_httpd largefile support by kpxalexkpxalex, 1257238742|%e %b %Y, %H:%M %Z|agohover
Re: mini_httpd largefile support
fraterfrater 1257600715|%e %b %Y, %H:%M %Z|agohover

Many Thanks to Frater ( i have no idea how he could find this solution, i am very impressed… )

We're doing what we can?

Are you inclined to contribute to a project of mine to bring optware-apps to dd-wrt?
I would love to have a killer lighttpd web application (webdav) and a control panel for /opt/etc/init.d so others see what can be done when you have your own webserver on your router….

What kind of router do you have?
I just bought myself an Asus RT-N16 (128 MB RAM, 32 MB flash, USB) and am now waiting for DD-WRT to support it….

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=59668&start=0

unfold Re: mini_httpd largefile support by fraterfrater, 1257600715|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License