The webpages I have created are not visible, what should I do?
For your web pages to be visible on the Internet, each page (and any directories within your public_html directory) need to be given the correct 'permissions'.
If your users.aber.ac.uk/[username] webpages are not visible the permissions on the files may be incorrect.
You can change the permissions on the files and folders in your public_html folder:
Using The AU AutomaticScript ( public_html )
- Start a terminal session ( How do I do this? ) and log on to Central using the login of the Web account you are working with
- At the $ prompt type the word fixwebperms and press the Enter key
- The script will run through the files and folders and fix any permission errors
- If there are incorrect permissions the script will list them.
- When it has changed the incorrect permissions it will display
Fixed permissions on x files
where x is the number of files changed
- If all the permissions are correct will display the message:
Permissions all look OK
- Start a terminal session ( How do I do this? )and log on to Central using the login of the Web account you are working with
- Type in cd public_html (this takes you into your public_html directory) and hit Enter
- To set the correct permissions for a directory within public_html type in
chmod 755 directoryname
- To set the correct permissions for a web page or image file type in
chmod 644 filename
- To set the correct permissions for a PHP script type in
chmod 700 filename
- Hit Enter and the permissions will be set
Information Services, Aberystwyth University, Hugh Owen Library, Penglais, Aberystwyth, SY23 3DZ
Tel: 01970 62 2400 Email: email@example.com