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?
What is blocking downloads of .wmv?
-
- Forum Regular
- Posts: 257
- Joined: Wed Aug 04, 2010 2:52 pm
- mikeshinn
- Atomicorp Staff - Site Admin
- Posts: 4149
- Joined: Thu Feb 07, 2008 7:49 pm
- Location: Chantilly, VA
Re: What is blocking downloads of .wmv?
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.
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.
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
-
- Forum Regular
- Posts: 257
- Joined: Wed Aug 04, 2010 2:52 pm
Re: What is blocking downloads of .wmv?
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.
-
- Forum Regular
- Posts: 257
- Joined: Wed Aug 04, 2010 2:52 pm
Re: What is blocking downloads of .wmv?
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
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