MR Posted February 26, 2008 Share Posted February 26, 2008 Please excuse this lame question, but I am very unfamiliar with web development. I am running a site with an apache server. I am allowing users to browse a directory from which they can download files, but a "parent directory" link exists in the main site. I want to remove said parent directory link, it doesn't do anything, I know it's just a pet peev of mine, but I find it really irritating. What I have done so far is include IndexIgnore .?* in my htaccess file, and it does successfully remove that Parent Directory link, but regretfully, it affects all subdirectories (as I'm sure it should), I don't want it to affect those. To allow htaccess to affect only specific folders, I believe I'm supposed to use AllowOverride, but my host has ceased allowing use of that function something about a security vulnerability. I'm sure I'm not the first person to come across this, but I really find that useless link irritating. Any help would be appreciated. Thanks, MR. Quote Link to comment https://forums.phpfreaks.com/topic/93141-want-to-remove-parent-directory-from-open-file-directory/ 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.