×
Oct 11, 2013 · Create .htaccess file in the directory where you want to change the index file. no extension . in front, to ensure it is a "hidden" file. Enter ...
Missing: q= q% 3Dhttps% 3A% 2Fstackoverflow. 2Fquestions% 2F19322345%
Apr 4, 2015 · The best way is to add DirectoryIndex to your vhost configuration. <Directory /foo> DirectoryIndex home.php Allow Override All </Directory>.
Missing: q= q% 3Dhttps% 3A% 2Fstackoverflow. 2Fquestions% 2F19322345%
Mar 31, 2015 · Try the following: Enable verbose logs sudo nano /etc/apache2/apache2.conf Locate the LogLevel variable, and update it from the default warn to info or debug.
Missing: q= q% 3Dhttps% 3A% 2Fstackoverflow. 2Fquestions% 2F19322345%
Nov 23, 2020 · 1. Backup Apache Configuration · 2. Open Apache Configuration File · 3. Change DirectoryIndex Directive · 4. Restart Apache Server.
Missing: q= q% 3Dhttps% 3A% 2Fstackoverflow. 2Fquestions% 2F19322345%
Dec 14, 2005 · Go to the /etc/httpd/conf/httpd.conf file and edit under Section 2: 'Main' server configuration (it's quite a bit down the file), so that the line starting ...
Missing: q= q% 3Dhttps% 3A% 2Fstackoverflow. 2Fquestions% 2F19322345%
May 11, 2018 · To get FancyIndexing to work in Apache 2.4, find the LoadModule directive for autoindex_module in httpd.conf and make sure it is uncommented.
Missing: 3Dhttps% 3A% 2Fstackoverflow. 2Fquestions% 2F19322345%
Oct 13, 2018 · Simply remove the file /var/www/html/index.html and replace it with your own /var/www/html/myown.html, and restart apache.
People also ask
Jul 1, 2012 · I would like to change that page to not be so easy to view all files in a directory. How can I do this without having to put an index page in each directory?
Missing: q= q% 3Dhttps% 3A% 2Fstackoverflow. 2Fquestions% 2F19322345%