Download folders broken

Status
Not open for further replies.

seravysensei13

New Member
Messages
21
Reaction score
1
Points
3
There is nothing wrong with the link. It's an existing folder, has been working before migration. I suspect the new server needs some additional permissions set to be able to list the contents of file folders.
 

Anna

I am just me
Staff member
Messages
11,739
Reaction score
579
Points
113
Directadmin by default has directory listing off, so if those folders contains the files directly and not an index page from which you link to the downloads the system will throw that error. Not listing the files is the more secure option.

You can however change that by creating, or editing if there is one, the .htaccess file in that folder. Add this line:

Options +Indexes
 

rebelsit

New Member
Messages
15
Reaction score
0
Points
1
Directadmin by default has directory listing off, so if those folders contains the files directly and not an index page from which you link to the downloads the system will throw that error. Not listing the files is the more secure option.

You can however change that by creating, or editing if there is one, the .htaccess file in that folder. Add this line:

Options +Indexes
Could you indicate with images how make that?
 

softdesi

Member
Messages
50
Reaction score
1
Points
8
And how hell I add a line in direct admin?

You must create a file named .htaccess in the root of the domain (using the file manager, under domains -> <domain> -> public_html) and add the line above to it.
 

rebelsit

New Member
Messages
15
Reaction score
0
Points
1
How I add line? I don't find anything alike
bcJgb2Z.png
 

softdesi

Member
Messages
50
Reaction score
1
Points
8
In that interface, click the domais folder, then your domain and create a new file there, named .htaccess. In that file, type

Options +Indexes
 
Status
Not open for further replies.
Top