You could use Files / FilesMatch and a regular expression: Files ~ "\.txt$" Order allow,deny Deny from all Files. This is www.doorway.ruwd is protected. or redirect any access www.doorway.ru to a RedirectMatch \.txt$. Share. Improve this answer. edited Jun 9 '09 at answered Jun 9 '09 at · 1 file with 1,2GB with the xampp apache the download stops between and MB. with the apachelounge apache the dowload stops by 60MB. Tested on IE9 and FireFox 13/ The Browser tells me that the download is complete . Also other Persons tested it and got the same result. · The NS (nosubreq) flag is required in order to skip internal subrequests. When the directory listing is generated, an internal subrequest appears to be triggered for each file in the directory. So, without the NS flag, the directory listing is ultimately blocked. You shouldn't really mix Require (Apache +) and Order allow,deny (Apache ).
Apache on Windows offers a few other ways to manage things, more in line with the expected Windows way of doing things. For example, you can install Apache as an NT service, or start and stop it from the Start menu. However, there are also several ways to start and stop Apache from the command line as well. Starting from the Command Line. If the authentication was fine, the user can access the files provided in the directory. The only thing that is VITAL is that the htpasswd file is not accessible to the general public (usually it is not). Step 2: Allowing Indexes. The next step is to tell the Apache web server that Indexing should be allowed for a certain directory. Move your data across to this new directory and create www.doorway.russ file with the following content: Order Allow,Deny Deny from All. The www.doorway.russ directives will disable any direct file download for any file name and type. In order for this to work make sure to enable. AllowOverride All.
Solution - reverting back to apache v The issue doesn't occur with this version. Original problem: -- Hello everyone. I came here in hope to find out a solution about my disturbing and troubling issue: for whatever reasons, all downloads from my Apache Server are blocked at Mb exactly (never less, never more, regardless the time). If the authentication was fine, the user can access the files provided in the directory. The only thing that is VITAL is that the htpasswd file is not accessible to the general public (usually it is not). Step 2: Allowing Indexes. The next step is to tell the Apache web server that Indexing should be allowed for a certain directory. 1 file with 1,2GB with the xampp apache the download stops between and MB. with the apachelounge apache the dowload stops by 60MB. Tested on IE9 and FireFox 13/ The Browser tells me that the download is complete . Also other Persons tested it and got the same result.
0コメント