Re: How to block Apache2 from showing dir lists on Ubuntu 16.04 server...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bo Berglund <bo.berglund@xxxxxxxxx> 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 that file, nor do I have the directory structure on my apache install (for me, sites-available is an nginx directory), but what does apachectl -S show as the path to the configuration files?

for example:

default server www.example.com (/usr/local/etc/apache24/extra/httpd-vhosts.conf:1)

-- 
all your snowflakes are urine and you can't even find the cat


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux