Guest Rebel Posted February 18, 2016 Posted February 18, 2016 Do you know how to get a .htaccess working to prevent people from reading my parant directory/index of pages?
Guest Rebel Posted February 18, 2016 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?
wolstech Posted February 18, 2016 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now