Ninjakreborn Posted March 8, 2007 Share Posted March 8, 2007 How do you turn off directory browsing on a windows server, I don't think HTAccess can be used in a windows enviroment (can it?) Quote Link to comment https://forums.phpfreaks.com/topic/41828-solved-windows-system/ Share on other sites More sharing options...
AndyB Posted March 8, 2007 Share Posted March 8, 2007 http://www.google.ca/search?hl=en&q=disable+directory+browsing+on+windows+server&meta= Quote Link to comment https://forums.phpfreaks.com/topic/41828-solved-windows-system/#findComment-202858 Share on other sites More sharing options...
Daniel0 Posted March 8, 2007 Share Posted March 8, 2007 Sure .htaccess can be used. It just requires that it is running Apache. IIS does not have .htaccess. Quote Link to comment https://forums.phpfreaks.com/topic/41828-solved-windows-system/#findComment-202870 Share on other sites More sharing options...
wildteen88 Posted March 8, 2007 Share Posted March 8, 2007 If you don't want directory browsing then add the following to a .htaccess file: Options -Indexes Note: When creating .htaccess files in Windows open up notepad type ".htaccess" (including the quotes) into the Filename: box. Click save button and a .htaccess file is created. Quote Link to comment https://forums.phpfreaks.com/topic/41828-solved-windows-system/#findComment-202877 Share on other sites More sharing options...
Ninjakreborn Posted March 8, 2007 Author Share Posted March 8, 2007 Perfect, thanks for all the help. Quote Link to comment https://forums.phpfreaks.com/topic/41828-solved-windows-system/#findComment-202882 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.