I have a website template that I uploaded to my ftp server using FileZilla. However when I visit the domain I get the error:
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
in the console it displays a 403 forbidden error. After researching I recognize that the default web page inside the root directory is not set. All my attempts to set the default page have failed. Here is what I tried:
1) Logged into ftp server with FileZilla. Clicked File > Site Manager > Advanced and set the root directory. The root directory contains a file that says index.html
2) Created a .htaccess file in the root that contains the text "DirectoryIndex index.html"
Solutions involving IIS are welcomed as well.
Any advice on how I can get this fixed?
AllowOverride
is set toNone
,.htaccess
will be completely ignored. – alvitsapache
server, the file you want to update is eitherhttp.conf
or under the sub directoryconf.d/
create a file that will set it. You don't really need to haveDirectoryIndex
if you want to have the directory listing. You needmod_autoindex
loaded and setOptions +Indexes
. – alvits/etc/httpd
. In Ubuntu it is in/etc/apache2
. – alvits