How do I setup a home page in the School of Mathematics?

To setup a home page you will need to create a directory called public_html in your home directory. In this directory, you will need to create a file either called index.html, index.php or index.cgi.

Creating a public_html directory

Open the terminal and use the commands below:

cd
mkdir public_html

Creating a test file

cd public_html
echo "Stuck in the Middle" > index.html 

Changing permissions

The permissions on your home directory and on the public_html directory must be such that the web server (Apache) has permission to access the files.

For the example below, assume our username is ezeno and our home directory is /home/paradox/ezeno. To set the permissions correctly:

cd
chmod 701 /home/paradox/ezeno public_html
chmod 604 public_html/index.html 

This fictitious webpage would be available at the URL: http://www.math.ias.edu/~ezeno

 

Edit your home page

Now that you have created index.html, you will want to edit it.  To edit the page using a GUI application, use Kompozer or Seamonkey Composer. It is located under Internet in your menu. You can also type

kompozer

or

seamonkey --edit

on a command line.

If you are comfortable editing files by hand, use your preferred text editor to edit the index.html file, located in the public_html directory of your IAS home directory.

To learn more about HTML, please visit the HTML Tutorial website.

What if I only want to redirect my School of Mathematics home page to an existing page that I have?

If you have not created your public_html directory, follow the steps above.

  1. Create a file called index.html
  2. Add the following to the index.html file:

    <html> 
    <body> 
    <meta HTTP-EQUIV="Refresh" CONTENT="0; 
    URL=http://my.remote.site/~ezeno/"> 
    Your browser will automatically redirect you to my page: 
    <A href="http://my.remote.site/~ezeno/">
    http://my.remote.site/~ezeno/</a> 
    </body> 
    </html>
     
  3. Substitute 

    http://my.remote.site/~ezeno/

    with your existing page's URL. 

  4. Save the file. Your page should automatically redirect to your new page.

Note:  If you would like a link to your School of Math home page added to the School's "Member" webpage, please do the following:

  1. Log in to the Updateme web portal.
  2. Click on the "Update Community of Scholars" link.
  3. Add the link to your School of Math home page to the box underneath "Your home page URL".  The link should be 

    https://www.math.ias.edu/~username

    where username is your assigned IAS username.

  4. Scroll down and click on the blue Update button.