(please specify the website or account you are asking about)
I run into the Directory Listing
(please share the FULL error message you see)
Can someone help me fix this?
(other information and details relevant to your question)
The server will serve files marked as index.php
or index.html
as the index page, not index.js
.
1 Like
How would I make it work then?
Try using this in your HTACCESS:
DirectoryIndex index.html index.php index.js index.css
1 Like
Admin
March 9, 2021, 8:37am
#6
What kind of code is in your index.js
file? Browsers can only use Javascript as part of HTML content. And our servers can’t run Javascript code (Node.js).
4 Likes
system
Closed
March 24, 2021, 8:37am
#7
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.