HOW TO PREPARE YOUR WEB PAGES ON MATHEMATICS SERVER ARF:
To prepare web pages, you can use many programs and editors . Web pages
are generally prepared by using HTML (Hyper Text Matkup Language).
After preparing your web pages, you can save it as index.html or
index.htm
. This file must be copied under public_html directory in
your account. If there is not a public_html directory, first you need to
create this directory by using command :
mkdir public_html
To put your files in public_html directory, you can use ws_ftp or ftp command.
After you copy your files to public_html directory, you can see your pages
with the web address :
http://www.math.metu.edu.tr/~username
If you see a massage :
Forbidden
You don't have permission to access /~username/ on this server,
this means that you need to change the permissions of the files in the
public_html directory as well as th directory itself.To change the
permissions, use chmod command in public_html directory:
chmod ugo+rx filename
chmod u+w filename
You can also write *.* instead of
filename, so all the files will be included. Using command ls -l
, it is posssible to see the permissions of the files. You need to do the
same for public_html directory.
In your web pages you can use images, links, audio files, videos etc and
all the pathways must be written correctly in HTML. You can create directories
under public_html directory and put your files in this directory. You can
see your web page by using a browser, Netscape Nevigator or Microsoft
Internet Explorer. The default file name "index.html" will be seen as your
web page. This means, when you write internet address
http://www.math.metu.edu.tr/~username/
this is the same thing as writing:
http://www.math.metu.edu.tr/~username/index.html
For oher directories you created, and for other files you must write the
whole address of the filename:
http://www.math.metu.edu.tr/~username/filename.html
You can find more detailed information at these sites:
|