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 Link to comment https://forums.phpfreaks.com/topic/111722-disallow-hidden-directory-access-with-httpdconf/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.