Website shows directory listing after runnning installation

sekeri
sekeri
@ilker
10 years ago
334 posts
I have purchased a server from DigitalOcean and made all the necessary customizing, copied the files and run the installation. Installation was successfully finished but afterwards I can not browse the website but only file list.
updated by @ilker: 05/17/14 07:44:53PM
michael
@michael
10 years ago
7,715 posts
You've forgotten to upload .htaccess file.

Its a hidden file in the main directory. Upload that and all will work.
sekeri
sekeri
@ilker
10 years ago
334 posts
.htaccess file is there. I think my problem is about using IP address instead of host name. I wanted to use the IP before pointing my web address to the server.
brian
@brian
10 years ago
10,148 posts
Double check that the .htaccess is actually there - if it is, you should not see the listing since JR's .htaccess file specifically turns off directory listings:

Options -MultiViews -Indexes



--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags