What is blocking downloads of .wmv?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
premierhosting
Forum Regular
Forum Regular
Posts: 257
Joined: Wed Aug 04, 2010 2:52 pm

What is blocking downloads of .wmv?

Unread post 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?
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: What is blocking downloads of .wmv?

Unread post 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.
premierhosting
Forum Regular
Forum Regular
Posts: 257
Joined: Wed Aug 04, 2010 2:52 pm

Re: What is blocking downloads of .wmv?

Unread post 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.
premierhosting
Forum Regular
Forum Regular
Posts: 257
Joined: Wed Aug 04, 2010 2:52 pm

Re: What is blocking downloads of .wmv?

Unread post 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
Post Reply