Page 1 of 1

XAMPP - error in downloading big files

PostPosted: 26. March 2014 09:43
by ka81
Hello!

I've installed xampp-win32-1.8.1-VC9-installer.exe on my PC with Windows XP Professional SP3.


I managed next files:
d:\xampp\apache\conf\httpd.conf
d:\xampp\apache\conf\extra\httpd-autoindex.conf
d:\xampp\apache\conf\extra\httpd-vhosts.conf

nothing more!!

So, http://files.ka81.com/ is working.
BUT, people can't download files with size more than XX Mb.

Could you please tell me what to check to solve that problem??

Thank you!!!

Re: XAMPP - error in downloading big files

PostPosted: 27. March 2014 20:07
by gsmith
in httpd.conf inside the <Directory> container than handles where they files are add

EnableSendfile On

It may be possible to be added instead to a .htaccess in the directory/folder the file is in (cause it is part of the FileInfo override which is pretty standard).

Re: XAMPP - error in downloading big files

PostPosted: 28. March 2014 09:43
by ka81
gsmith wrote:in httpd.conf inside the <Directory> container than handles where they files are add

EnableSendfile On

It may be possible to be added instead to a .htaccess in the directory/folder the file is in (cause it is part of the FileInfo override which is pretty standard).

the only string where I found exactly <Directory> is:

Code: Select all
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL.  You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.



other strings almost similiar:

Code: Select all
<Directory />
    AllowOverride none
    Require all granted
</Directory>


Code: Select all
<Directory "D:/www">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks Includes ExecCGI

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    Require all granted

</Directory>


Code: Select all
<Directory "D:/xampp/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
</Directory>



So, where to put "EnableSendfile On" ??


p.s. and once again: people CAN download files from 0 to ~50-60 Mb. I f file is LARGER than that - peaoplesomehow CAN NOT download.. :(

Re: XAMPP - error in downloading big files

PostPosted: 28. March 2014 11:00
by ka81
I made:
Code: Select all
<Directory />
    AllowOverride none
    Require all granted
    EnableSendfile On
</Directory>


can somebody please cjeck whether it's downloading??
for example those bigsize files - http://files.ka81.com/video/bh90210/Beverly%20Hills%2090210%20-%20Season%204/

thank you

Re: XAMPP - error in downloading big files

PostPosted: 28. March 2014 13:50
by Nobbie
It is horribly slow, it already takes minutes to start. Is this a normal download or a PHP Script which provides the data?

I think that your upload speed is by far not quick enough for such big files.

Re: XAMPP - error in downloading big files

PostPosted: 28. March 2014 14:24
by ka81
I've got a true real 100 mbit direct connection to internet. (torrents DL = ~8-9 Mbt\s)
no any antivirus, firewall, nothing at all!

so, problem with soft (XAMPP).

Tell me please what to check in configurations of XAMPP or ...
by myself I don't know what|where|how to check.. :(

Re: XAMPP - error in downloading big files

PostPosted: 28. March 2014 14:35
by Altrea
Thats the anti piracy mechanism to prevent streaming of illegal video content you don't have the permission for.

Re: XAMPP - error in downloading big files

PostPosted: 28. March 2014 15:47
by Nobbie
ka81 wrote:I've got a true real 100 mbit direct connection to internet. (torrents DL = ~8-9 Mbt\s)


Thats the Download Speed. The Upload Speed usually is far far less and from the view of your Server, you upload the data into the internet.

Re: XAMPP - error in downloading big files

PostPosted: 28. March 2014 16:00
by ka81
Is it some kind of joke (trolling)??
It's nothing about content! I can put there some my own files with such big size and result will be the same!!!

So, please somebody help me to configure it perfectly.

Thanx anyway..

Re: XAMPP - error in downloading big files

PostPosted: 28. March 2014 16:03
by ka81
Nobbie wrote:
ka81 wrote:I've got a true real 100 mbit direct connection to internet. (torrents DL = ~8-9 Mbt\s)


Thats the Download Speed. The Upload Speed usually is far far less and from the view of your Server, you upload the data into the internet.
no no, seriously, theres ni restrictions for dl or ul.

Re: XAMPP - error in downloading big files

PostPosted: 28. March 2014 18:11
by Nobbie
ka81 wrote:no no, seriously, theres ni restrictions for dl or ul.


I dont know any provider in the whole world, that does NOT reduce upload speed. Anyway, it is horribly slow.