Nom | Prop. | Droits |
www |
daemon:www | rwxrwxr-x |
www/conf |
daemon:www | rwxrwxr-x |
www/data |
daemon:www | rwxrwxr-x |
www/cgi-bin |
daemon:www | rwxrwxr-x |
www/icons |
daemon:www | rwxrwxr-x |
www/images |
daemon:www | rwxrwxr-x |
www/logs |
daemon:www | rwxrwxr-x |
www/public |
daemon:www | rwxrwxrwxt |
www/public/user |
user | rwxrwxr-x |
httpd -d www
<Directory /opt/lib/httpd/data/suivicmd> <Limit GET> order allow,deny allow from eudil.fr allow from univ-tahiti.fr deny from all </Limit> </Directory>
$ cat access.conf ... <Directory /opt/lib/httpd/data> AuthType Basic AuthName eudil.fr AuthUserFile /etc/passwd.web AuthGroupFile /etc/group.web <Limit GET> require valid-user </Limit> </Directory> ... $ cat /etc/passwd.web w3eudil:8HkgpBzmdzhvM rex:oeuLUTdX9Cc8g $ cat /etc/group.web wwwusers: w3eudil root
HTTP/1.0 401 Unauthorized Date: Mon, 16 Sep 1996 19:43:23 GMT Server: Apache/1.1.1 WWW-Authenticate: Basic realm="eudil.fr" Content-type: text/html
GET / HTTP/1.0 Host: eudil.fr Accept: */* User-Agent: WebParTelnet From: Xavier.Redon@eudil.fr Authorization: Basic cmVkb246m2fUDgfNztM=
GET http://www.eudil.fr/ HTTP/1.0
HTTP/1.0 302 Found