HTTP 403 Forbidden
Because of the file system permissions, the user gets the warning HTTP 403 "Forbidden" when accessing your home page. To make your home page visible to others, you have to give other users read permissions to your home directory files.
Here is how to change the public_html folder permissions to give others access to your home page.
In the Linux shell
Use SSH to connect to the shell.metropolia.fi server and run the following commands:
find ~/public_html -type d -exec chmod 755 {} \; find ~/public_html -type f -exec chmod 644 {} \;
On a Windows workstation
Select your home directory in the public_html folder on the Z: drive. Right click on the public_html folder and in the popup menu, select Properties.
In the window that opens, select the Security tab. Wait for a moment while the Security view is updated. When the Advanced button activates, click on it.
Next, in the window that opens, select the Everyone group and click on the Edit button.
In the Apply onto drop-down menu, select This folder, subfolders and files as the scope for the change. Select (check both boxes) List Folder / Read Data and Traverse Folder / Execute File. Click on OK.
You will return to the previous window where you select Replace permission entries... (check the box). Click on Apply.
A window opens explaining that permissions are about to be changed in all files and folders. Accept by clicking on Yes.
After this procedure the contents of your home page will be browsable.
HTTP 403 Forbidden
- Created by Kalevi Lehto, last modified on 23.6.2011
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 2 Next »
- No labels