How to create a personal web page: Difference between revisions

From ISRWiki
Jump to navigation Jump to search
(New page: First, you need an UNIX account at omni server. Assuming your account username is '''xpto''', the URL of the page is '''http://omni.isr.ist.utl.pt/~xpto'''. There is also a automatic redir...)
 
No edit summary
Line 4: Line 4:


The permissions are the trickiest part of the story:
The permissions are the trickiest part of the story:
# your home and public_html directories need at least ''eXecution'' permission for ''other'' users; i.e. this means '''d??????--x''' for your home directory
# your home and public_html directories need at least ''eXecution'' permission for ''other'' users; i.e. this means '''d?????? - - x''' for your home directory
# your files within public_html need at least ''Read'' permission; i.e. '''d??????r--'''
# your files within public_html need at least ''Read'' permission; i.e. '''d?????? r - -'''


Be careful, because some SSH software for Windows have the tendency to give default permissions to transfered files that disallow the above permissions. Therefore, if you get an error when browsing your page, check first the file permissions!
Be careful, because some SSH software for Windows have the tendency to give default permissions to transfered files that disallow the above permissions. Therefore, if you get an error when browsing your page, check first the file permissions!


For further details, check this [[Crash course on UNIX file permissions]].
For further details, check this [[Crash course on UNIX file permissions]].

Revision as of 09:23, 17 September 2010

First, you need an UNIX account at omni server. Assuming your account username is xpto, the URL of the page is http://omni.isr.ist.utl.pt/~xpto. There is also a automatic redirection from the alternative URL http://www.isr.ist.utl.pt/~xpto to the former one. But it is preferable to announce the former URL.

The files have to be stored in a directory named public_html at your home directory at the omni server. The default file used when the URL http://omni.isr.ist.utl.pt/~xpto is browsed is index.html (e.g. the full path is /home/xpto/public_html/index.html).

The permissions are the trickiest part of the story:

  1. your home and public_html directories need at least eXecution permission for other users; i.e. this means d?????? - - x for your home directory
  2. your files within public_html need at least Read permission; i.e. d?????? r - -

Be careful, because some SSH software for Windows have the tendency to give default permissions to transfered files that disallow the above permissions. Therefore, if you get an error when browsing your page, check first the file permissions!

For further details, check this Crash course on UNIX file permissions.