Internet

This page is maintained by the CSE System Group

From CsWiki

Jump to: navigation, search

Contents

Proxy

What is the proxy?

The proxy is our main cache.

You should not use your own cache in the browser because it will use up your disk quota. The proxy provides us all with one big cache, so if someone has viewed some page before, you will benefit because this whole page will be cached.

Why use the proxy?

Only sites within Israel (*.il) are accessible unless you use the proxy.

How do I configure the proxy?

  • Set up your browser to use automatic detection
  • If that doesn't work, choose automatic proxy configuration and in the URL text box, enter http://www.cs.huji.ac.il/proxy.pac (you may need to press "Reload")
  • If that doesn't work, choose manual proxy configuration using host wwwproxy.cs.huji.ac.il and port 8080.

Homepage

Each user can set up a personal homepage.

Files under the www subdirectory of your home directory can be accessed from anywhere in the world using a web browser. The URL of this directory is http://www.cs.huji.ac.il/~login/.

For example, if your login is bla and you have a file called hello.html in your www directory (i.e. ~/www/hello.html), you can access it by pointing your web browser to http://www.cs.huji.ac.il/~bla/hello.html.

To setup your www directory, type the following while in your home directory:

mkdir -p ~/www

This will make the www directory, where you will store your webpage files.

chmod 755 ~/www

This will make the directory viewable for all and writable for you. Note that you should do this for every subdirectory you create under www. Also, if you changed your default umask, you should make the files world readable (i.e. chmod 644 file).

Then when you have made your main HTML file put it in your www directory under name index.html - it's very important to have a file called index.html in your directory. Without it, your directory will not be viewable!


If after you've done those steps correctly there's still a problem, check if your home directory is viewable by all. Those of you who were afraid of others stealing their execises and blocked your directories, won't be able to have homepages unless you reopen your directories! If you'd like to reopen your directory just:

chmod 755 ~login
Personal tools