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?) 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= 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. 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. 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. Link to comment https://forums.phpfreaks.com/topic/41828-solved-windows-system/#findComment-202882 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.