Course Web FAQ


What is the URL (web address) of a course web?

Course URLs look like this:

http://courses.cs.washington.edu/courses/<course-number>/<quarter>

For example:

http://courses.cs.washington.edu/courses/cse142/13au/

What is the path to the files of a course web?

Course paths look like this:

/cse/web/courses/<course-number>/<quarter>

For example:

/cse/web/courses/cse142/13au/

What happened to old URLs?

Users browsing to an old URL will be redirected to the corresponding new URL. For example, a user visiting

http://www.cs.washington.edu/education/courses/cse142/

finds themselves at

http://courses.cs.washington.edu/courses/cse142/

How do I access course webs from Windows?

On CSE Windows machines, your O: drive is already mapped to \\cseexec\cs, so you can navigate down to cse\web\courses and then to your course web directory (e.g. to 13au\cse142). Alternatively, you can map a drive with a path starting with \\cseexec.cs.washington.edu\cs\cse\web\courses. If prompted for credentials, enter either your CSEResearch or CSEPCLab credentials.

How do I access course webs from a Mac?

Please use scp(1).

Is active content supported in course webs?

Only if you enable it by creating (or augmenting) a .htaccess file with the right configuration goo.

To specify that all files with a .cgi or .pl extension that are executable (chmod a+x turns on the execute bits) be run as CGI scripts, create a file in the directory containing the content in in which you specify this:

options +execcgi
addtype application/x-httpd-cgi cgi pl

To specify that a specific file called myguy.cgi be run as a CGI, specify this:

<file myguy.cgi>
 options +execcgi
 addtype application/x-httpd-cgi cgi
</file>

PHP files will be run if you enable PHP in a .htaccess. There is no need to turn on the execute bits. To enable PHP for a particular file, create a world-readable file, specify this:

<file myfile.php>
 php_flag engine on
</file>

To enable PHP for the whole tree, just omit the file container. Please don't do this any further up the tree than necessary— for example, in the root of the per-course tree such as /cse/web/courses/cse142/. If you do, staff will drown a puppy.

I don't wish to host my course web here, but would prefer to host it at X. Can you redirect there?

Sure, staff could do that. Or you could do it for yourself by creating a one-line .htaccess file at the root of your course web tree. For example, imagine that you are teaching cse666 in Spring, 2018, and that you are hosting the web at https://eduhosting.microsoft.com:/cs.washington.edu/cse666/18sp/. Your course web tree is anchored at /cse/web/courses/courses/cse666/18sp/. Create a file called .htaccess with the following contents:

redirect /courses/cse666/18sp/ https://eduhosting.microsoft.com:/cs.washington.edu/cse666/18sp/
Easy, peasy.

Why didn't you answer my question?

Please let us know that it's missing by sending email to support.