Differences

This shows you the differences between two versions of the page.

services:personal_website [2009/09/21 14:57]
gerardor
services:personal_website [2012/09/14 09:24] (current)
admin
Line 7: Line 7:
  * must have an SCS linux account   * must have an SCS linux account
-<note warning>You must have an SCS linux account in order to host your personal SCS website; a Vista account is not enough.</note>  +<note warning>You must have an SCS linux account in order to host your personal SCS website; a Windows account is not enough.</note> 
Line 14: Line 14:
To create a homepage, you must: To create a homepage, you must:
-    * Log into your Linux account+    * Log into your Linux account ( [[services:external_access_host_access]] )
    * Create a directory called "public_html" under your home directory     * Create a directory called "public_html" under your home directory
    * Move your homepage files into this directory     * Move your homepage files into this directory
Line 33: Line 33:
You can transfer files to your website from anywhere on the internet using a windows utility called winscp that can be downloaded for free. You can use any file-transfer utility that you like as long as it supports the scp or ssh protocol. You can transfer files to your website from anywhere on the internet using a windows utility called winscp that can be downloaded for free. You can use any file-transfer utility that you like as long as it supports the scp or ssh protocol.
-From the internet you will need to connect to quest.scs.carleton.ca in order to transfer your files. quest is the school's external access host.+From the internet you will need to connect to access.scs.carleton.ca in order to transfer your files. access is the school's external access host.
<note>File permissions on your website should be set to 644 and directory permissions set to 711 (755 for readable web-directories). </note> <note>File permissions on your website should be set to 644 and directory permissions set to 711 (755 for readable web-directories). </note>
Line 55: Line 55:
==== Password protecting your webpage with .htaccess ==== ==== Password protecting your webpage with .htaccess ====
-If you wish to password protect a specific directory under your SCS webpage you will need to create a .htaccess file in that directory (somewhere under ~/public_html). The .htaccess file needs to have -rw-r--r-- permissions (chmod 644 .htaccess). You will also need a .htpasswd file.+If you wish to password protect a specific directory under your SCS webpage you will need to create a .htaccess file in that directory (somewhere under ~/public_html). The .htaccess file needs to have -rw-r--r-- permissions (chmod 644 .htaccess). You will also need a .htpasswd file. You are required to change permission on your ~/public_html to -rwxr-xr-x (chmod 755 ~/public_html).
You can copy and paste this default .htaccess file: You can copy and paste this default .htaccess file:
Line 65: Line 65:
AuthType Basic AuthType Basic
-require user SCS+# SCS is the username 
 +Require user SCS 
 +# A second user needs a second Require line
</code> </code>
Line 106: Line 108:
In order to add directory listing create an .htaccess file in the desired directory, or if it exists then append the following line: In order to add directory listing create an .htaccess file in the desired directory, or if it exists then append the following line:
<code> <code>
-Options +index+Options +indexes
</code> </code>
-The .htaccess file needs to have -rw-r--r-- permissions (chmod 644 .htaccess).+The .htaccess file needs to have -rw-r--r-- permissions (chmod 644 .htaccess). Make sure permissions on your ~/public_html are -rwxr-xr-x (chmod 755 ~/public_html).
Back to top
services/personal_website.1253559477.txt.gz · Last modified: 2009/09/21 14:57 by gerardor