Ex. I open http://www.delfi.lt via browser, can I somehow access/open/download .htaccess file of this site?
I read that .htaccess is visable to any browser if it's not hidden by apache. Does apache block access to .htaccess file by default?
Access to .htaccess is disabled by Apache config similar to this in httpd.conf
:
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With