Page 1 of 1

What is blocking downloads of .wmv?

Posted: Fri Sep 02, 2011 12:15 pm
by premierhosting
Hello,

No errors seem to be kicked, but when a client uploads a .wmv file via FTP, then tries to download via httpd, the client sees a 403 error. Nothing shows in the logs. Any ideas?

Re: What is blocking downloads of .wmv?

Posted: Fri Sep 02, 2011 1:14 pm
by mikeshinn
Apache always logs 403s, thats built in. Are you sure apache isn't logging these 403s?

If apache isnt logging 403s, then either this isnt being generated by your server, or your system is totally hosed. :-(

I'd double check your logs. If you dont see apache logging a 403, and its sending something else but your user is getting a 403, then its not coming from apache, modsecurity or ASL - something else is doing it - or if apache is sending a 403 and not logging it, your system is, as previously mentioned totally and hopelessly hosed. Time to reinstall, thats a critical massive error or major misconfiguration.

So please let us know what apaches logs show you, if your system is doing this its got to be logging it. Check your error logs and audit log.

Re: What is blocking downloads of .wmv?

Posted: Fri Sep 02, 2011 1:34 pm
by premierhosting
OK, figured it out. The permissions were not setting to read for other. Changed perms to 644 and all is well. Must be an FTP permissions mask on a per extension basis somewhere.

Re: What is blocking downloads of .wmv?

Posted: Fri Sep 02, 2011 1:39 pm
by premierhosting
On the logs, found it, was looking in the wrong place.

error_log:[Fri Sep 02 09:22:02 2011] [error] [client ipaddress] (13)Permission denied: file permissions deny server access: /var/www/vhosts/hostname.com/httpdocs/dirname/filename.wmv