Hi,
i am testing node,js on my server. i am following cpanel guide.
curl test is ok
i have made test application in application manager,
name; nodejsapp
Application URL: /nodejsapp
path: nodejsapp/app.js
but if i open browser in my location ( mydomain.xxx/nodejsapp) it returns error 403.
in apache error log i found this error:
any help please? thanks
i am testing node,js on my server. i am following cpanel guide.
curl test is ok
Code:
#curl http://127.0.0.1:3000
Hello World! NodeJS
name; nodejsapp
Application URL: /nodejsapp
path: nodejsapp/app.js
but if i open browser in my location ( mydomain.xxx/nodejsapp) it returns error 403.
in apache error log i found this error:
Code:
[Sat Sep 14 20:01:26.147493 2019] [autoindex:error] [pid 14056:tid 47401738032896]
[client xxx.xxx.xxx.xxx:15581] AH01276:
Cannot serve directory /home/*******/public_html/nodejsapp/:
No matching DirectoryIndex (index.php,index.php5,index.php4,index.php3,index.perl,index.pl,index.plx,index.ppl,index.cgi,index.jsp,index.jp,index.phtml,index.shtml,index.xhtml,index.html,index.htm,index.wml,Default.html,Default.htm,default.html,default.htm,home.html,home.htm,index.js) found, and server-generated directory index forbidden by Options directive