Managing Files With Contribute
From Web Development
Contents |
For www.gmu.edu or mason.gmu.edu
Prerequisites
IMPORTANT: Fix Server Upload Permissions
The default setting for newly uploaded files is that they are only readable by the user that uploaded them. This results in a "Forbidden" error when the files are viewed through a web browser.
Follow this tutorial to adjust this setting:
Setup a Connection
- Open up Contribute, choose Edit > My Connections (or Contribute > My Connections if you're on a Mac) and hit Create. Alternatively, If the Create Connection button is on the main toolbar, you can click that instead. Hit Continue.
- Leave "Website" selected, enter your site's web address, and hit Continue.
- Select "Secure FTP (SFTP)" from the dropdown. Enter
mason.gmu.eduas the "name of your SFTP server", and your username and mason.gmu.edu password. Hit Continue. - Enter one of the following for "what folder contains your web site", and hit Continue:
- For personal sites:
public_html/(Note: This directory should be set up first.) - For sites on www.gmu.edu:
/usr/local/htdocs/your_directory_path
(Replaceyour_directory_pathappropriately. For instance, if your site is located atwww.gmu.edu/departments/english,your_directory_pathwould bedepartments/english)
- For personal sites:
- Enter your name and email address. Hit Continue, and then Finish.
That's it. You should now be able to navigate your site through Contribute, and edit as needed.
For gunston.gmu.edu
Prerequisites
Setup a Connection
- Open up Contribute, choose Edit > My Connections (or Contribute > My Connections if you're on a Mac) and hit Create. Alternatively, If the Create Connection button is on the main toolbar, you can click that instead. Hit Continue.
- Leave "Website" selected, enter your site's web address, and hit Continue.
- Select "Secure FTP (SFTP)" from the dropdown. Enter
gunston.gmu.eduas the "name of your SFTP server", and your MESA username and password. Hit Continue. - For "what folder contains your web site", enter
/your_directory_path
(Replaceyour_directory_pathappropriately. For instance, if your site is located atgunston.gmu.edu/example,your_directory_pathwould beexample). Hit Continue. - Enter your name and email address. Hit Continue, and then Finish.
That's it. You should now be able to navigate your site through Contribute, and edit as needed.