I just started learning apache yesterday and I couldn't find this on the internet anywhere so bear with me. I have a folder called "images" which contains all the images my site uses. I would like to deny web viewers access to the specific folder (to where they can't access the url but can still see elements on my webpages that use those images). I want to set it up using a directory directive but I don't know how. This is how I have it set up currently:
<Directory "/var/www/html/images">
Order allow,deny
Deny from all
Allow from localhost
</Directory>
Pointing me to a guide that also shows a solution would be appreciated.
<Directory "/var/www/html/images">
Order allow,deny
Deny from all
Allow from localhost
</Directory>
Pointing me to a guide that also shows a solution would be appreciated.
Comment