...
Code Block |
---|
find ~/public_html -type d -exec chmod 755 {} \; find ~/public_html -type f -exec chmod 644 {} \; |
If the webpage is not visible, execute-rights are missing from "Others" group. Execute-rights must be both in public_html and home drive flders:
Code Block |
---|
chmod o+x ~
chmod o+x ~/public_html
|
The above code should fix the visibility problems and make your webpage accessible again.