nickjonnes Posted March 10, 2011 Share Posted March 10, 2011 hey all, i have an issue, i have a directory site called hackingtoolz.tk and if you go to it, you will see a list of folders as it is just a directory the problem is how to i stop the banner from apearing in the directory. i have tried changing the chmod to 4000 and that just made the jpeg stay their and the banner screw up if you go to the site you will understand what i mean better hope you can help cheers nick Link to comment https://forums.phpfreaks.com/topic/230195-hide-thing-from-being-viewed-website-directory/ Share on other sites More sharing options...
flolam Posted March 10, 2011 Share Posted March 10, 2011 google -> "directory index hide file" -> first result -> http://www.hackersdiary.com/how-to-hide-files-from-apaches-directory-index/ IndexIgnore .htaccess IndexIgnore *.jpg Link to comment https://forums.phpfreaks.com/topic/230195-hide-thing-from-being-viewed-website-directory/#findComment-1185506 Share on other sites More sharing options...
nickjonnes Posted March 10, 2011 Author Share Posted March 10, 2011 i made a .htaccess file and put that code in still if you go to the site there isn't anything new? Link to comment https://forums.phpfreaks.com/topic/230195-hide-thing-from-being-viewed-website-directory/#findComment-1185511 Share on other sites More sharing options...
flolam Posted March 10, 2011 Share Posted March 10, 2011 does your button image file have a .jpg (and not jpeg, gif, png etc) file extension? Link to comment https://forums.phpfreaks.com/topic/230195-hide-thing-from-being-viewed-website-directory/#findComment-1185765 Share on other sites More sharing options...
nickjonnes Posted March 11, 2011 Author Share Posted March 11, 2011 nope it is ignoreIndex .htaccess ignoreIndex *.jpeg but both the htaccess file and the jpg file show up on the site? cheers nick Link to comment https://forums.phpfreaks.com/topic/230195-hide-thing-from-being-viewed-website-directory/#findComment-1185985 Share on other sites More sharing options...
Mahngiel Posted March 11, 2011 Share Posted March 11, 2011 try ignoring 'pjpeg' as well. Link to comment https://forums.phpfreaks.com/topic/230195-hide-thing-from-being-viewed-website-directory/#findComment-1186014 Share on other sites More sharing options...
nickjonnes Posted March 11, 2011 Author Share Posted March 11, 2011 no luck with the ignoring jpeg thing Link to comment https://forums.phpfreaks.com/topic/230195-hide-thing-from-being-viewed-website-directory/#findComment-1186056 Share on other sites More sharing options...
cssfreakie Posted March 11, 2011 Share Posted March 11, 2011 isn't it just the script that is outputting that list? maybe make it more greedy instead of outputting everything. Not sure what you use, but i bet it's php Link to comment https://forums.phpfreaks.com/topic/230195-hide-thing-from-being-viewed-website-directory/#findComment-1186058 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.