alternapop Posted June 24, 2008 Share Posted June 24, 2008 i'd like to disallow any hidden files and directories, and contents within a hidden directory from being displayed. i know i can disallow hidden files with this: <FilesMatch "^\."> Order allow,deny Deny from all </FilesMatch> using these paths, as examples: www.example.com/.hidden/default.html www.example.com/.hide/images/logo.png what do i need to do to disallow anything from within ".hidden" and ".hide" from being displayed? not only ".hidden" and ".hide" but any and all hidden folders, files and contents... so that if any part of the file path is hidden, don't show it. thanks, chris Quote Link to comment https://forums.phpfreaks.com/topic/111722-disallow-hidden-directory-access-with-httpdconf/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.