How to hide directory listing in .htaccess?

Apache: How to hide directory listing in .htaccess?

  1. Options -Indexes

webdevetc profile pic
webdevetc

I am a 29 year old backend web developer from London, mostly focusing on PHP and Laravel lately. This (webdevetc.com) is my blog where I write about some web development topics (PHP, Laravel, Javascript, and some server stuff). contact me here.



More...


Comments and discussion about How to hide directory listing in .htaccess?

Found this interesting? Maybe you want to read some more in this series?

Or see other topics in the Apache language

Or see other languages/frameworks:
PHP Laravel Composer Apache CentOS and Linux Stuff WordPress General Webdev and Programming Stuff JavaScript
Or see random questions

How to enable the rewrite engine in .htaccess?

What is the difference between empty(), isset(), != null, is_null() in PHP

How to block multiple IP addresses in .htaccess

How to show a specific view file for certain error codes?

How to make Apache force download of files (in .htaccess)

How to merge/concat two arrays together in JS?

How to autoload helper files with composer?

What is the difference between reference and primitive data types types in Javascript?

How to show (or log) all SQL queries executed by Laravel

How to set infinite execution time in a PHP script