We recently installed Zend on a system. Since then we are getting dinged
on a Qualys security scan.
.htaccess contains authentication information.
Unauthorized users can gather authentication information from this file.
Change the Apache configuration so the .htaccess file cannot be accessed
via the Internet.
Description: Cobalt RaQ 2.0/3.0 - Apache .htaccess Disclosure - The
Exploit-DB Ref : 19828
GET /.htaccess HTTP/1.1
I see .htaccess in two directories:
How does one: "Change the Apache configuration so the .htaccess file
cannot be accessed via the Internet."?
I tried googling that but all I found were descriptions of the benefits
and risks of using .htaccess file.
The first google hit should have been the "end all, be all" as it was a
However I could not find the answer in the link offered. Then again, it
may have shot right over my head since I'm not even up to the beginner
level in apache configuration.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.