iCIS Intra Wiki
categories: Info - Support - Software - Hardware | AllPages - uncategorized
Webpage: Difference between revisions
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
smb access : \\www.cs.ru.nl\wwwcs\live\htdocs\personal\<login> | smb access : \\www.cs.ru.nl\wwwcs\live\htdocs\personal\<login> | ||
Note : the | Note : the web server machine is wielewaal.cs.ru.nl.<br> | ||
== | == Paths on file server and web server different == | ||
The web server directory is differently mounted on different servers : | |||
- file server lilo1.cs.ru.nl : /www/cs/ | |||
- current web server : wielewaal-cs.ru.nl : /var/www2/cs/ | |||
- old deprecated web server wees.science.ru.nl : /vol/www/cs/ (deprecated at juli 2012) | |||
So we cannot use digest authorization but must use basic authorization on cncz | |||
== User Authorization on cncz web servers == | |||
On cncz web servers only the mod_auth_basic module is installed in | |||
the apache web server. The module mod_auth_digest is not installed. | |||
So we cannot use digest authorization but must use basic authorization on cncz web servers. | |||
How to use basic auth : | How to use basic auth : | ||
| Line 50: | Line 58: | ||
</pre> | </pre> | ||
Note | Note: the directory used in the .htaccess file is that of the web server and not | ||
of the file server. | |||
Revision as of 11:36, 12 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/live/htdocs/personal/<login>
- windows :
smb access : \\www.cs.ru.nl\wwwcs\live\htdocs\personal\<login>
Note : the web server machine is wielewaal.cs.ru.nl.
Paths on file server and web server different
The web server directory is differently mounted on different servers :
- file server lilo1.cs.ru.nl : /www/cs/ - current web server : wielewaal-cs.ru.nl : /var/www2/cs/ - old deprecated web server wees.science.ru.nl : /vol/www/cs/ (deprecated at juli 2012)
User Authorization on cncz web servers
On cncz web servers only the mod_auth_basic module is installed in the apache web server. The module mod_auth_digest is not installed.
So we cannot use digest authorization but must use basic authorization on cncz web servers.
How to use basic auth :
$ ssh lilo1.science.ru.nl $ cd /www/cs/live/htdocs/personal/<username>/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 <username> New password: xxxxxxxx Re-type new password: xxxxxxxx # make .htaccess file with the following content $ cat .htaccess AuthName "mysite" AuthType Basic AuthUserFile "/var/www2/cs/live/htdocs/personal/<username>/secure/.htpasswd" require user <username>
Note: the directory used in the .htaccess file is that of the web server and not of the file server.