NOTE: I am new to qmail but not linux
I am following qmailrocks.org and everything was find till step 7, but at step8(qmailadmin)
when i run
http://192.168.1.3/cgi-bin/qmailadmin then it says
--------------------------------------------------
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster
Error 403
192.168.1.3
Mon 03 Jan 2005 07:29:17 AM IST
Apache/2.0.40 (Red Hat Linux)
For reference.
-------------------
Apache Access Log
===================
192.168.1.3 - - [29/Dec/2004:04:00:51 +051800] "GET /webmail/images/sm_logo.png HTTP/1.1" 304 0 "http://192.168.1.3/webmail/src/redirect.php" "Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U
Gecko/20030131"
192.168.1.3 - - [03/Jan/2005:07:24:53 +051800] "GET / HTTP/1.1" 302 14 "-" "Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U
Gecko/20030131"
192.168.1.3 - - [03/Jan/2005:07:24:53 +051800] "GET /src/login.php HTTP/1.1" 200 2137 "-" "Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U
Gecko/20030131"
192.168.1.3 - - [03/Jan/2005:07:25:04 +051800] "GET /cgi-bin/qmailadmin HTTP/1.1" 403 1053 "-" "Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U
Gecko/20030131"
192.168.1.3 - - [03/Jan/2005:07:29:17 +051800] "GET /cgi-bin/qmailadmin HTTP/1.1" 403 1053 "-" "Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U
Gecko/20030131"
Permissions
-------------------------
# ls -l /var/www/cgi-bin/
total 324
-rwxr-xr-x 1 root root 101608 Jan 26 2003 htsearch
-rwxr-xr-x 1 root root 48772 Jan 25 2003 namazu.cgi
-rwsr-sr-x 1 vpopmail vchkpw 120316 Jan 3 07:28 qmailadmin
-rwxr-xr-x 1 root root 42748 Jan 26 2003 qtest
drwxr-xr-x 3 vpopmail vchkpw 4096 Dec 19 07:46 vqadmin
# ls -l /var/www/
total 28
drwxr-xr-x 3 root root 4096 Jan 3 07:28 cgi-bin
drwxr-xr-x 3 root root 4096 Sep 8 17:18 error
drwxr-xr-x 7 root root 4096 Dec 18 01:05 html
drwxr-xr-x 3 root mailman 4096 Sep 8 19:19 icons
drwxr-xr-x 13 root root 4096 Sep 8 17:18 manual
drwxr-xr-x 2 root root 4096 Sep 8 19:10 nut-cgi-bin
drwxr-xr-x 6 root root 4096 Sep 8 21:21 wordtrans
-----------------------
links
http://192.168.1.3/webmail/ ,
http://192.168.1.3/cgi-bin/vqadmin/vqadmin.cgi
are working fine.
#vi httpd.conf
<Directory "/var/www/cgi-bin">
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>
--------------------------
Apache Error Log
=========================
[Mon Jan 03 07:25:04 2005] [error] [client 192.168.1.3] client denied by server configuration: /var/www/cgi-bin/qmailadmin
[Mon Jan 03 07:29:17 2005] [error] [client 192.168.1.3] client denied by server configuration: /var/www/cgi-bin/qmailadmin
Apache access logs
[Mon Jan 03 07:25:04 2005] [error] [client 192.168.1.3] client denied by server configuration: /var/www/cgi-bin/qmailadmin
[Mon Jan 03 07:29:17 2005] [error] [client 192.168.1.3] client denied by server configuration: /var/www/cgi-bin/qmailadmin