My main page shows directory list

zhbxakdquc93

New Member
Messages
1
Reaction score
0
Points
0
I would like my main page http://tharpa.x10.mx/, to show my index.html or index.htm page. However, instead it shows a list of the files in my directory. Is this normal, and is there any way I can get it to show my index.html page?

---------- Post added at 03:55 AM ---------- Previous post was at 02:54 AM ----------

Solved:
Edited my .htaccess file.

Added DirectoryIndex index.html and now it's fine.
 

mariannaguide56

New Member
Messages
6
Reaction score
0
Points
0
Hi ,
By default Apache (the web-server) attempts to serve "index.html" or "index.php" if no file is defined inside the URL .
If these files are not available then it does directory listing .
Solution :
1) Create an empty index file into the directory .
2) Edit "htaccess" file : ie append -- > Options –Indexes .

 

coolinkuk17

New Member
Messages
0
Reaction score
0
Points
0
When I have my domain as .elementfx.co.uk it opens up a server error page but when i change it to .x10.mx it seems to work absolutely fine :s I would rather have the elementfx domain but it wont work unless i link directly to /index.htm. Why is this?
 

goldenc3

New Member
Messages
1
Reaction score
0
Points
0
Hi ,
By default Apache (the web-server) attempts to serve "index.html" or "index.php" if no file is defined inside the URL .
If these files are not available then it does directory listing .
Solution :
1) Create an empty index file into the directory .
2) Edit "htaccess" file : ie append -- > Options –Indexes .

THANKS FOR THE HELP
Added DirectoryIndex index.html
still came up with the list but i solved it my index.html had a upper case Index.html lol thanks again
 
Top