1
My host is running Apache 2.0.63 on Redhat Enterprise 4. I'm trying to have two versions of a movie available for download, HD and SD, and both are in DivX .avi format. I uploaded the SD file fine which was 700mb, and after a couple days of uploading finally have the 3gb HD file up there too. The 700mb file I can access and download no problem, but the 3gb one is doing some very strange things:
-I set the CHMOD to 777 but I still get a 403 Forbidden when I try to download it
-I SSH'd into the server and listed the files in the directory and the 3gb file has an asterisk next to its name (indicating it's an executable) while the 700mb file doesn't.
-Tried renaming the file and changing the extension but nothing seems to work.
Does anyone have any ideas? Should I re-upload the file? Thanks!
Updating Apache got rid of the 403 and allowed me to download the file directly, but when I use dir to list the files in the directory the large file still has the asterisk next to it indicating it's an executable (which it isn't). Also, in PHP the file_exists() function recognizes the file but is_file and filesize() do not. This same script works fine for the 722mb file. – user50215 – 2010-09-23T21:59:03.717