yaws
yaws copied to clipboard
Error When downloading a zip file
I use yaws, and I have some problems, when I need to download the all.zip file:
# uname -a
FreeBSD bishop.my-sign.com 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64
# ./bin/yaws
Erlang/OTP 17 [erts-6.2] [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:true]
Eshell V6.2 (abort with ^G)
1>
=INFO REPORT==== 31-Jan-2015::07:48:37 ===
Yaws: Using config file /root/yaws-yaws-1.99/etc/yaws/yaws.conf
=INFO REPORT==== 31-Jan-2015::07:48:37 ===
Ctlfile : /root/.yaws/yaws/default/CTL
=INFO REPORT==== 31-Jan-2015::07:48:37 ===
Yaws: Listening to 0.0.0.0:8080 for <1> virtual servers:
- http://bishop.my-sign.com:8080 under /usr/local/www/yaws
=ERROR REPORT==== 31-Jan-2015::07:48:48 ===
Error in process <0.62.0> with exit value: {{badmatch,{error,enoent}},[{yaws_ls,dig_through_dir,4,[{file,"src/yaws_ls.erl"},{line,358}]},{yaws_ls,zip,3,[{file,"src/yaws_ls.erl"},{line,297}]}]}
Peace
Judging from the traceback, it seems like you're trying to access a directory that doesn't exist, but it's hard to know for sure without more details. Please also supply information on how to duplicate the problem from the client. For example, can the problem be duplicated with curl, and if so, with what arguments? Also, what is the server configuration for your server in the yaws.conf file?