Web :: Central Web Server Site Maintenance

Printer-friendly version

File Names & Locations

Your departmental web site URL will always be www.humboldt.edu/sitename. Each of your sites will show up as a folder (link) inside your personal directory on the Central Web server and the files for your sites are stored in the site folder under public_html, for example /home/abc123/sitename/public_html.

You should always name your home page index.html, as this is the name web browsers look for when a user or a link points to your web site.

Note: The tilde (~) is no longer used in site names on the Central Web server. Please update any documents (printed and/or electronic) and web pages that include your old URL to reflect the new site name and address as soon as possible.

File Access

By default, files in your public_html folder are visible to anyone on the Internet. If you want or need to keep some files private, you should change the access permission levels for those files. Conversely, if you experience problems viewing your page - such as receiving a "Forbidden" message - you will also need to change the permission settings on your directories and files.

Below are some typical universally-readable permission levels

  • For universally-readable folders, select Owner: Read/Write/Execute, Group: Read/Execute, and Other: Read/Execute (mode 755).
  • For universally-readable files, select Owner: Read/Write, Group: Read, Other: Read (mode 644)

NOTE: It is especially important that you NEVER make any file containing a password to a database, such as a config file, universally readable. You should also never give "Other" or "Everyone" permission to Write to a file or folder unless you have a specific reason to do so and you understand what the implications of this can be.

Changing permissions via SFTP

You can set permissions using SFTP (Secure FTP). Recommended SFTP applications include Cyberduck (Mac), Fugu (Mac), and Filezilla (Mac/Windows).

Launch your SFTP software, log into the web server, and do the following:

  • For SSH (Windows), right-click your file(s) or folder(s) and select Properties.
  • For Fugu, right-click and select Get Info.
  • For CyberDuck, right click and select Get Info.

Changing permissions via Network Folders

Windows users can also upload files and folders and set permissions using Network Folders. To upload files and folders, connect to your HSU Network Folder and simply drag and drop them into the public_html directory. By default, these documents should be universally-readable. In the event that permissions need to be changed to universally-readable, do the following:

  • Right-click your file(s) or folder(s),
  • Click the Security tab and assign them the following sets of permissions:
    • For User Name (you): check Allow for everything in the left-hand column
    • For Everyone, click the Allow Read box only

Setting permissions can be a complex task. If you're confused or experience problems, contact the Technology Help Desk at (707) 826-HELP (4357), send an email, or stop by Library 120.