[users@httpd] Re: How to block Apache2 from showing dir lists on Ubuntu 16.04 server...

2019-03-11 Thread @lbutlr
Bo Berglund wrote: > equire valid-user > Options -Indexes > DirectoryIndex dirlist.php Does you main configuration have AllowOverride? > I even went as far as editing the > /etc/apache2/sites-available/000-default.conf file and adding this to > the end of the directory block: I didn't know

[users@httpd] Re: How to block Apache2 from showing dir lists on Ubuntu 16.04 server...

2019-03-11 Thread Bo Berglund
On Mon, 11 Mar 2019 09:12:28 +0100, Bo Berglund wrote: >If I enter an URL ending with a directory name Apache throws up a list >of all of the files inside the directory which is NOT what I want. >I have created a php command to create the display of the dir content >which works just fine on my