Skip to main content

node.js test app 403 fobidden error

Comments

4 comments

  • cPanelMichael
    Hello @leonep, The error message you shared suggests Apache is attempting to serve the application from the account's public_html directory. Node.js applications are served through Passenger and are not required to exist in the public_html directory. Do you have any Mod_Rewrite rules in the .htaccess file under the account's home directory or under the public_html directory that could be redirecting the request to that location? Thank you.
    0
  • leonep
    thanks for help Michael, i have changed app directory to home (/home/user/nodejsapp). No .htaccess present in folder. Now i got 404 error not found thanks
    0
  • leonep
    finally everything went well, I had the wrong path as a newbie ... however in fact the solution was to place the app in the home (/ home / user / nodejsapp) thanks, congratulations for your kindness and sorry for the trouble! thread solved
    0
  • cPanelMichael
    finally everything went well, I had the wrong path as a newbie ... however in fact the solution was to place the app in the home (/ home / user / nodejsapp) thanks, congratulations for your kindness and sorry for the trouble! thread solved

    I'm happy to see your application is now working well. Thanks for sharing the outcome!
    0

Please sign in to leave a comment.