Skip to main content

File permissions problems

Comments

5 comments

  • rpvw
    The normal cPanel permissions given to files and folders in the ~/public_html folder are: Folders 755 Files 644 I should try setting the files to those permissions, and seeing if that works for you. If it still doesn't work, you may need to ask your server provider for assistance.
    0
  • Nicola Urbinati
    Hi, I am my own server provider. From cpanel's file manager, trying to edit a ".htaccess" file in ~/public_html folder (644 permissions), I receive a " Errore HTTP 401 Token di sicurezza non valido L"URL richiesto non contiene il corretto token di sicurezza della sessione. Questo errore pu" essersi verificato dopo che l"utente ha copiato e incollato un URL da una sessione cPanel, WHM o Webmail diversa nella barra dell"indirizzo del browser. Per risolvere il problema, adottare una delle seguenti misure:
    • Go back one page e ricaricare l"URL, assicurandosi che la sezione /cpsess"/ dell"URL rimanga inalterata.
    • Reinserire la password dell"account di seguito. In questo modo verr" assegnato un nuovo token di sicurezza alla sessione. Questo nuovo token impedir" all"utente di utilizzare altre pagine di questa applicazione che potrebbero essere aperte in altre schede.
    " Error (sorry for the italian) If I try to navigate some pages (I have a Joomla site), I get: " Forbidden You don't have permission to access /xxx/yyy on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."
    0
  • cPanelMichael
    If I try to navigate some pages (I have a Joomla site), I get: " Forbidden You don't have permission to access /xxx/yyy on this server.

    Hello @Nicola Urbinati, It's possible this relates to a file ownership issue. Can you let us know the output to /usr/local/apache/logs/error_log when reproducing the error message that appears when navigating to the website from your browser? Thank you.
    0
  • Nicola Urbinati
    Hi all, It's turned out it was some misconfiguration of mod_pagespeed, as I removed it and everything got working smoothly. Don't know what configuration exactly went wrong, I'll test it again probably in the future. Thank you all for the assistance.
    0
  • cPanelMichael
    Hello @Nicola Urbinati, Feel free to reach out to us if you need any help when you decide to test it again in the future. Thank you.
    0

Please sign in to leave a comment.