Re: Problems restricting access to a file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nevermind, this was a problem with my browser caching data.

--
Brian McNally


On Dec 11, 2006, at 3:40 PM, Brian McNally wrote:

Hello,

I'm having some problems restricting access to a particular file using the following in my .htaccess file:

<Files the_file_name.zip>
        order deny,allow
        deny from all
        allow from my.domain.com
</Files>

If it helps, I'm using Apache 2.0.46, and the particular page is hosted as a virtual host.

When I use this in my .htaccess file the file will dissapear from index view for domains outside of my.domain.com (this is what I would expect, I guess) but the file is still accessible if I try and download it directly (NOT what I would expect).

I'm sure there's a reason for this, but I can't figure out why. I've looked at the other directives that apply to this file and I can't seem to find any kind of explanation.

--
Brian McNally



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux