Thursday, September 28, 2023
 Popular · Latest · Hot · Upcoming
12
rated 0 times [  12] [ 0]  / answers: 1 / hits: 8196  / 2 Years ago, fri, june 18, 2021, 4:41:34

index of folder image


As you can see my website has an index.php file but it is not opening it by default.


I have edited /etc/apache2/mods-enabled/dir.conf. Here is the file's content:


<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
</IfModule>

The issue happens only with this folder. All other folders open their index.php files properly.


More From » 18.04

 Answers
3

Change the name of the Index.php file to index.php. Linux servers are case-sensitive. The index.html, index.htm, or index.php file names must be in all lowercase in order to be found. If the server finds no index, it will show a list of files.


[#2006] Saturday, June 19, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
girdleas

Total Points: 1
Total Questions: 112
Total Answers: 114

Location: Lesotho
Member since Wed, Jun 2, 2021
2 Years ago
girdleas questions
Thu, Mar 10, 22, 00:17, 2 Years ago
Wed, May 18, 22, 22:02, 1 Year ago
Sat, Apr 9, 22, 01:12, 2 Years ago
;