www.ntnu.no *
INFOWEB >  developement and programming >  web development  > My homepage will not work properly
Tasks
You may add comments
Or e-mail this article
Read articles written by livermor
User rating
How much did this article help you?
Much Some Little
Print preview
You do not need a 'printer-friendly page' to print this page. Here's why
Contents

My homepage will not work properly

Permissions

If the permission set on your directory where the homepage is, or the page itself has the wrong permission, it will not be displayed. For more information on how you change permission, see this page.

public_html is a defined as a directory instead of a symbolic link

Your web area is on another server than the rest of your files. You should not have to worry about this, but sometimes mistakes happen.

The most common mistake is if you by accident delete the symbolic link called public_html and create the directory public_html instead. This will not work properly.

To see if this is your proble, write ls -l public_html in a terminal where you're connected to login.stud.ntnu.no. You result should look like this:

kode #1
lrwxrwxrwx   1 root     bin            28 Sep 28 05:25 public_html -> /web/folk/username/

This indicates that public_html is a symbolic link which 'points' to your area on the other machine.

If, on the other hand, it looks like this:

kode #2
drwxr-x--x  17 username   www        8192 Jan 11 13:15 public_html

public_html will be a directory instead of a symbolic link. The 'd' on the far left indicates this. To change this follow these steps:

  1. mv public_html public_html-old
  2. ln -s /web/folk/username/ public_html

After that you have to move your files from the newly renamed public_html-old to the new symbolic link public_html.

/web/folk/username/ does not exist

As mentioned earlier, your web area is located at /web/folk/username/. Sometimes mistakes happen when creating your user and as a result that area may not have been created. If you've tried all of the above, contact Orakeltjenesten and they will help you.


Languages: en flag_no Comments: 0 Aid: 552 User rating:
 
 
Last updated: 2007-08-03 Author: livermor Read: 133 times