PDA

View Full Version : qmailadmin -- forbidden ?????


stormer
04-25-2004, 03:01 PM
I cant access my qmailadmin page on my fresh installed qmailrocks server. I get this "Forbidden
You don't have permission to access /cgi-bin/qmailadmin on this server"

????

I cant find any solution for this on forum and at google...please help

Bookworm
04-25-2004, 04:19 PM
well, in httpd.conf - what's the cgi-bin directory it's trying to reach? (path)

Also, can you reach anything else? Have you bothered reading the apache logs in /var/log/apache (or wherever yours stores it) to actually get the rest of the error?

BW

stormer
04-25-2004, 07:36 PM
thanks Bookworm for replaying.

in httpd.conf the path is /usr/lib/cgi-bin/

and my vqadmin works fine so it cant be my apache-cgi thats is wrong or can it?

Im trying to read my logs:
[Sun Apr 25 23:50:08 2004] [error] [client 213.115.49.221] client denied by server configuration: /usr/lib/cgi-bin/qmailadmin

I dont know what to do. shall I add /usr/lib/cgi-bin/qmailadmin in my httpd.conf somewhere or what?

and the access log says:
213.115.49.221 - - [26/Apr/2004:00:23:18 +0200] "GET /cgi-bin/qmailadmin HTTP/1.1" 403 299 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"

it tells me nothing tbh....

I type:
./configure --enable-cgibindir=/usr/lib/cgi-bin --enable-htmldir=/var/www

and it works fine without any errors.
make && make install-stripe returns no errors aswell

but no success in reaching my qmailadmin page at all :(

Bookworm
04-26-2004, 02:13 PM
Without actually getting into your server, I don't think I can help much on this one.

It sounds like a basic configuration mistake in httpd.conf

BW

Bookworm
04-27-2004, 01:25 AM
BTW - the cgi-bin/qmailadmin is a file, not a directory.

stormer
05-02-2004, 10:27 AM
still stuck at this.
I begin to think is some access problem here..

Is it true that I can acces qmailadmin from any pc on internet ?

where do I permit accessing from any ip?

stormer
05-10-2004, 01:01 PM
when I change this line in httpd.conf :

<Directory /usr/lib/cgi-bin/>
deny from all <---------------------- to allow---
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>

I can get my phpgenerated qmailadmin page but my vqadmin fails then and I cant login to any account created in vqadmin aswell.

I even tryed to change the last row "Order deny,allow" to "Order allow,deny" but I dont see any changes for me :cry:

when I setup vqadmin I had a htaccess file to chown but in qmailadmin it seems like I have no controll at all? Anyway, its a access problem to http://my.domain.ip/cgi-bin/qmailadmin is it only me who have had this error or what?

please help
regards
stormer

stormer
05-10-2004, 01:04 PM
BTW - the cgi-bin/qmailadmin is a file, not a directory.

yea...?? and...its a file yes. what have I done wrong then?

catch
08-23-2004, 08:09 PM
the problem is to have .htaccess in the root of cgi http web server, same as vqadmin config guide...... :D :D :D :D

stormspotter
08-26-2004, 11:11 AM
What does "ls -l /usr/lib/cgi-bin/qmailadmin" return? I suspect you need to change its permissions using chmod.

On my server a ls -l on the qmailadmin file returns the following:
-rwsr-sr-x 1 vpopmail vchkpw 126496 Aug 20 15:31 qmailadmin

You can change your permissions to match this by doing the following:
chown vpopmail:vchkpw /usr/lib/cgi-bin/qmailadmin
chmod 6755 /usr/lib/cgi-bin/qmailadmin

HTH,
Jacob

skwkks
04-24-2008, 08:20 AM
In ur httpd.conf file the entry is like this

<Directory /usr/lib/cgi-bin/>
deny from all <---------------------- to allow---
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>


But, it should be like this...

<Directory "/path/to/your/cgi-bin/vqadmin">
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>

vqadmin directory should be included in directory path.. then, it's work fine...

metron
01-04-2009, 04:30 PM
Hi this is a reportfrom a vpopmail installation with mysql support on a debian 4 etch box. My Problem is that like above my vqadmin isnt reachable.

Box: Linux Debian Etch, LAMP - compiled by sources.

Log says:

"Directory index forbidden by Options directive: /home/htdocs/html/qmailadmin/"

1. question: But this directory is empty, is that ok?
2. question i got /etc/apache/extra/httpd-* option files for apache2, what should i do with the directives in the /etc/apache/httpd.conf?

I need to configure my accounts but now vqadmin wan't work at all.
Please help me to find a solution.