iCIS Intra Wiki
categories:             Info      -       Support      -       Software       -      Hardware       |      AllPages       -      uncategorized

Webpage: Difference between revisions

From ICIS-intra
Jump to navigation Jump to search
No edit summary
Line 19: Line 19:




== website authorization on cncz servers ==
== User Authorization on cncz webservers ==


<pre>
On new and old cncz servers only the mod_auth_basic module is installed in
the apache webserver. The module mod_auth_digest is not installed.


Note: on new and old cncz servers only mod_auth_basic installed and not
So we must cannot use digest authorization but must use basic authorization on cncz webservers.
      mod_auth_digest -> so we must use basic auth on cncz servers


How to use basic auth  :


use basic auth :
<pre>


  $ ssh lilo1.cs.ru.nl
  $ ssh lilo1.cs.ru.nl
Line 46: Line 47:
  require user harcok
  require user harcok


note:  webserver directory is differently mounted on different servers :
</pre>
      - fileserver lilo1.cs.ru.nl : /www/cs/
 
      - webserver wees.science.ru.nl : /vol/www/cs/
Note that the webserver directory is differently mounted on different servers :
- fileserver lilo1.cs.ru.nl : /www/cs/
- webserver wees.science.ru.nl : /vol/www/cs/
 


</pre>




[[Category:Support]] [[Category:AllPages]]
[[Category:Support]] [[Category:AllPages]]

Revision as of 22:12, 2 July 2012

All employees can have their own web page in the www.cs.ru.nl domain. However, this is not implemented by default. The scientific programmers can do this for you.

If it has been set up, you can reach it via the web like this:

  • www.cs.ru.nl/personal/<login> or www.cs.ru.nl/~<login>
  • www.cs.ru.nl/<longname> (e.g. H.Kuppens, P.deVrieze etc.)

And you can maintain it like this:

  • linux (lilo1.science.ru.nl or lilo2.science.ru.nl) : 

       file access : /www/cs/web-docs/personal/<login>

  • windows : 

       smb access : \\www.cs.ru.nl\wwwcs\<login>

Note : the webserver machine is wielewaal.cs.ru.nl.


User Authorization on cncz webservers

On new and old cncz servers only the mod_auth_basic module is installed in the apache webserver. The module mod_auth_digest is not installed.

So we must cannot use digest authorization but must use basic authorization on cncz webservers.

How to use basic auth  :


 $ ssh lilo1.cs.ru.nl

 $ cd /www/cs/www/web-docs/personal/harcok/secure/

 # make .htpasswd file containing user accounts with md5 encrypted passwords
 # note: if htpasswd command is not installed one can also use
 #       the website : http://www.htaccesstools.com/htpasswd-generator/
 $ htpasswd -c .htpasswd harcok


 # make .htaccess file with the following content
 $ cat .htaccess
 AuthName "mysite"
 AuthType Basic
 AuthUserFile "/vol/www/cs/web-docs/personal/harcok/secure/.htpasswd"
 require user harcok

Note that the webserver directory is differently mounted on different servers :

- fileserver lilo1.cs.ru.nl : /www/cs/
- webserver wees.science.ru.nl : /vol/www/cs/