Hi all,
I want to restrict the access to my syweb site (web GUI for symon).
# pwd
/var/www/htdocs/syweb
# ls -la
total 228
drwxr-xr-x 3 root daemon 1024 Oct 27 12:44 .
drwxr-xr-x 3 root daemon 512 Oct 27 12:49 ..
-rw-r--r-- 1 root daemon 131 Oct 27 12:44 .htaccess
-rw-r--r-- 1 root daemon 69 Oct 27 11:50 .htpasswd
drwxr-xr-x 2 www daemon 512 Apr 2 2008 cache
-rw-r--r-- 1 root daemon 6287 Apr 14 2008 class_cache.inc
-rw-r--r-- 1 root daemon 10478 Apr 14 2008 class_graph.inc
-rw-r--r-- 1 root daemon 8937 Apr 14 2008 class_layout.inc
-rw-r--r-- 1 root daemon 6193 Apr 14 2008 class_lexer.inc
-rw-r--r-- 1 root daemon 3959 Apr 14 2008 class_rrdtool.inc
-rw-r--r-- 1 root daemon 4394 Apr 14 2008 class_session.inc
-rw-r--r-- 1 root daemon 2014 Apr 14 2008 class_text.inc
-rw-r--r-- 1 root daemon 3591 Apr 14 2008 class_vars.inc
-rw-r--r-- 1 root daemon 2414 Apr 14 2008 configtest.php
-rw-r--r-- 1 root daemon 2542 Apr 14 2008 graph.php
-rw-r--r-- 1 root daemon 19177 Apr 14 2008 graph_defaults.inc
-rw-r--r-- 1 root daemon 4873 Apr 14 2008 index.php
-rw-r--r-- 1 root daemon 5318 Apr 14 2008 setup.inc
-rw-r--r-- 1 root daemon 95 Apr 14 2008 spacer.png
-rw-r--r-- 1 root daemon 976 Apr 14 2008 symon.css
-rw-r--r-- 1 root daemon 1760 Apr 14 2008 symon.png
-rw-r--r-- 1 root daemon 3233 Apr 14 2008 tools.inc
# more .htaccess
AuthUserFile /var/www/htdocs/syweb/.htpasswd
AuthGroupFile /dev/null
AuthName Restricted Access.
AuthType Basic
require valid-user
# more .htpasswd
10dence:$2a$06$.7tLChr5JHureAq58sL8T.c6FjtKZfrfqAKfguBP4mPbfJSSHzmQe
but when I type http://<myserever>/syweb/ the dialog auth box doesn't
appear? So, anybody can access to syweb site.
?What's wrong?
More info:
# uname -a && httpd -l
OpenBSD jespasac.home.org 4.2 GENERIC.RAID#1 amd64
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_so.c
mod_setenvif.c
mod_keynote.c
mod_ssl.c
suexec: disabled; invalid wrapper /usr/sbin/suexec
--
Thanks,
Jordi Espasa Clofent