Guest Rebel Posted February 18, 2016 Share Posted February 18, 2016 Do you know how to get a .htaccess working to prevent people from reading my parant directory/index of pages? Quote Link to comment Share on other sites More sharing options...
nyten Posted February 18, 2016 Share Posted February 18, 2016 hi, just useOptions -Indexes Quote Link to comment Share on other sites More sharing options...
Guest Rebel Posted February 18, 2016 Share Posted February 18, 2016 i know but i want my own files to be used so i can tweak the file to my wishes. how do i do that? Quote Link to comment Share on other sites More sharing options...
wolstech Posted February 18, 2016 Share Posted February 18, 2016 Create a file called index.php. Whatever HTML and code you put in it is shown when someone views the folder. If it does not exist, they see a directory listing (or a forbidden page if you disabled then like Nyten said). We don't support custom styles on a directory listing. You would need to install a directory listing script to do that. Quote Link to comment 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.