Mailing List Archive

[mod_backhand-users] permission denied (was: Configuration problems)
Hi,

when starting with mod_backhand just now I ran into a problem that was
already posted by George Nguyen in september, but I could not find wether
it was solved or not.

I configured two backhand servers which can see each other according to
the status page and are working fine up to the moment, when they want to
do a proxy request to the other one. At that moment I receive a
403 error (You don't have permission to access /cgi-bin/backhand-test on
this server.)

The error_log looks like this:
[Thu Dec 21 21:29:01 2000] [notice] (Translate <=) = {
/cgi-bin/backhand-test, (null), (null) }
[Thu Dec 21 21:29:01 2000] [notice] (Translate =>) = {
/cgi-bin/backhand-test, (null), (null) }
[Thu Dec 21 21:29:01 2000] [notice] (Type <=) = { cgi-script,
/cgi-bin/backhand-test, (null) }
[Thu Dec 21 21:29:01 2000] [notice] Func executed for (null) [byAge(NULL)]
(2 -> 2)
[Thu Dec 21 21:29:01 2000] [notice] Func executed for
(null) [byLoad(NULL)] (2 -> 2)
[Thu Dec 21 21:29:01 2000] [notice] All funcs executed -> kolben.chemie.de
[Thu Dec 21 21:29:01 2000] [notice] (Type =>) = *{ backhand-redirection,
backhand:/cgi-bin/backhand-test, backhand/redirect }
[Thu Dec 21 21:29:01 2000] [notice] (Postread =>) = { Backhanding to 1 }
[Thu Dec 21 21:29:01 2000] [notice] (Postread =>) = {
backhand:/cgi-bin/backhand-test, backhand-redirection, (null) }
[Thu Dec 21 21:29:01 2000] [notice] (Translate <=) = {
backhand:/cgi-bin/backhand-test, backhand-redirection, (null) }
[Thu Dec 21 21:29:01 2000] [error] [client 160.45.24.213] client denied by
server configuration: /cgi-bin/backhand-test

(kolben.chemie.de is the OTHER server)


My configuration is as follows:

UnixSocketDir /u/www/backhand
MulticastStats 192.168.2.255:4445
AcceptStats 192.168.2.0/24
BackhandLogLevel +netall
BackhandLogLevel +mbcsall
BackhandLogLevel +dcsnall

<Location /backhand/>
SetHandler backhand-handler
</Location>

ScriptAlias /cgi-bin/ "/u/www/cgi-bin/"
<Directory "/u/www/cgi-bin">
Options None
Order allow,deny
Allow from all
Backhand byAge
Backhand byLoad
</Directory>

and yes, /u/www/backhand is writeable by the httpd user.

Are there any new hints?

Thanks in advance,
Hans Benedict
--
Hans Benedict Chemie.DE Information Service GmbH
mailto:benedict@chemie.de
Fon: +49-(0)30-838-53474 Takustr. 6, 14195 Berlin, Germany
Fax: +49-(0)30-838-53464 http://www.chemie.de/
[mod_backhand-users] permission denied (was: Configuration problems) [ In reply to ]
Hans Benedict wrote:
> when starting with mod_backhand just now I ran into a problem that was
> already posted by George Nguyen in september, but I could not find wether
> it was solved or not.
>
> [Thu Dec 21 21:29:01 2000] [error] [client 160.45.24.213] client denied by
> server configuration: /cgi-bin/backhand-test

This error is from mod_access, not mod_backhand. Perhaps a module reordering
would fix this? Can tell me what your AddModule directives look like?

My "AddModule mod_backhand.c" is before my "AddModule mod_access.c"

--
Theo Schlossnagle
1024D/A8EBCF8F/13BD 8C08 6BE2 629A 527E 2DC2 72C2 AD05 A8EB CF8F
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
[mod_backhand-users] permission denied (was: Configuration problems) [ In reply to ]
On Thu, 21 Dec 2000, Theo E. Schlossnagle wrote:

> Hans Benedict wrote:
> > when starting with mod_backhand just now I ran into a problem that was
> > already posted by George Nguyen in september, but I could not find wether
> > it was solved or not.
> >
> > [Thu Dec 21 21:29:01 2000] [error] [client 160.45.24.213] client denied by
> > server configuration: /cgi-bin/backhand-test
>
> This error is from mod_access, not mod_backhand. Perhaps a module reordering
> would fix this? Can tell me what your AddModule directives look like?

In httpd.conf? Actually I didn't have one. But now a changed to the
following and took care to put mod_access behind mod_backhand:

ClearModuleList
AddModule mod_so.c
AddModule mod_env.c
AddModule mod_setenvif.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_info.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_backhand.c
AddModule mod_access.c
AddModule mod_auth.c

Unfortunately the problem is still there...

Regards,
Hans Benedict
--
Hans Benedict Chemie.DE Information Service GmbH
mailto:benedict@chemie.de
Fon: +49-(0)30-838-53474 Takustr. 6, 14195 Berlin, Germany
Fax: +49-(0)30-838-53464 http://www.chemie.de/