LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-19-2004, 03:24 PM   #1
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
Qmailadmin error


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://localhost/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

localhost
Mon 20 Dec 2004 01:48:27 AM IST
Apache/2.0.40 (Red Hat Linux)


Any help appreciated



-jack
 
Old 12-20-2004, 07:44 PM   #2
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
bump......


Any guesses I am not able to solve the issue yet.



-jack
 
Old 12-20-2004, 08:28 PM   #3
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
The problem is either in your Apache configuration somewhere or else the permissions on the qmailadmin file or the cgi-bin directory. What are the permissions on the directory and qmailadmin? Do you have mod_cgi enabled and setup properly in your httpd.conf? Have you looked at your apache logs to see what error is reported there?
 
Old 12-22-2004, 12:59 PM   #4
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
File permission on cgi-bin directory content
Code:
-rwxr-xr-x    1 root     root       101608 Jan 26  2003 htsearch
-rwxr-xr-x    1 root     root        48772 Jan 25  2003 namazu.cgi
-rwxr-xr-x    1 vpopmail vchkpw     120316 Dec 20 01:43 qmailadmin
-rwxr-xr-x    1 root     root        42748 Jan 26  2003 qtest
drwxr-xr-x    3 vpopmail vchkpw       4096 Dec 19 07:46 vqadmin


File permission on cgi-bin directory :-

drwxr-xr-x 3 root root 4096 Dec 20 01:44 cgi-bin

Quote:
Do you have mod_cgi enabled

how to check whether mod_cgi is enabled or disabled.
where 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 access logs
Code:
192.168.1.3 - - [22/Dec/2004:23:13:28 +051800] "GET /cgi-bin/qmailadmin HTTP/1.1" 403 1046 "-" "Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131"
192.168.1.3 - - [22/Dec/2004:23:15:45 +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 - - [22/Dec/2004:23:15:48 +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 - - [22/Dec/2004:23:16:05 +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 - admin [22/Dec/2004:23:22:07 +051800] "GET /cgi-bin/vqadmin/vqadmin.cgi HTTP/1.1" 200 1347 "-" "Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131"
192.168.1.3 - - [22/Dec/2004:23:22:07 +051800] "GET /images/vqadmin/vqadmin.css HTTP/1.1" 404 1240 "http://192.168.1.3/cgi-bin/vqadmin/vqadmin.cgi" "Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131"
192.168.1.3 - - [22/Dec/2004:23:23:23 +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 - - [22/Dec/2004:23:24:23 +051800] "GET /cgi-bin/qmailadmin HTTP/1.1" 403 1053 "-" "Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131"

Apache error log
---------------------------

[Wed Dec 22 23:15:45 2004] [error] [client 192.168.1.3] client denied by server configuration: /var/www/cgi-bin/qmailadmin
[Wed Dec 22 23:15:48 2004] [error] [client 192.168.1.3] client denied by server configuration: /var/www/cgi-bin/qmailadmin
[Wed Dec 22 23:16:05 2004] [error] [client 192.168.1.3] client denied by server configuration: /var/www/cgi-bin/qmailadmin
[Wed Dec 22 23:22:07 2004] [error] [client 192.168.1.3] File does not exist: /var/www/html/webmail/images/vqadmin, referer: http://192.168.1.3/cgi-bin/vqadmin/vqadmin.cgi
[Wed Dec 22 23:23:23 2004] [error] [client 192.168.1.3] client denied by server configuration: /var/www/cgi-bin/qmailadmin


why server is rejecting the client request.


Any help appreciated.



-jack
 
Old 12-24-2004, 07:54 PM   #5
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
bump........

Any ideas...


-jack
 
Old 12-28-2004, 12:17 PM   #6
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
bump............



Any ideas,



-jack
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help with qmailadmin login bosewicht Linux - Newbie 1 03-27-2005 12:42 PM
help with qmailadmin bosewicht Linux - Newbie 0 12-25-2004 06:52 PM
qmailadmin -0.42 essy Linux - Software 0 04-26-2001 12:40 AM
installing qmailadmin-0.42 essy Linux - General 0 04-25-2001 10:18 PM
qmailadmin lokesh.namdhar General 0 02-19-2001 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration