Silly question

:ne: I was wondering , how can I set default page in apache web server so when you type www.a.com the default page shows up and not list your directory content ( that other question , how can I disable listing my directory if there is no page found )

I’m never configure apache web server or even linux before. I’m windows minded :nerd:

thank you before

You can disable directory listing by simply putting in an index.php file that it will default to, or by placing a .htaccess file in your directory that you want to protect with the following in it:


Options -Indexes