[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#922040: x2gobroker-wsgi: default apache configuration gives 403 error



Hi Linnea,

(re-Cc-ing the Debian bug)

On  Mo 18 Mär 2019 14:38:54 UTC, Linnea Skogtvedt wrote:

Den 18.03.2019 12:25, skrev Mike Gabriel:
Control: tags -1 patch

Hi Linnea,

On Mon, 11 Feb 2019 15:11:01 +0100 Linnea Skogtvedt
<linnea@linuxavdelingen.no> wrote:
Package: x2gobroker-wsgi
Version: 0.0.4.0-3

wget -O - http://127.0.0.1/x2gobroker/ yields a 403 Forbidden error
message. /var/log/apache2/error.log shows the following message:
[authz_core:error] ... [client 127.0.0.1:49216] AH01630: client denied
by server configuration: /usr/bin/x2gobroker

Editing /etc/apache2/conf-available/x2gobroker-wsgi.conf to change
<Directory /usr/bin/x2gobroker> to <Directory /usr/bin> and restarting
apache2 removes the 403 Forbidden error, but it's not a good
configuration. I suggest creating a WSGI wrapper script in its own
subdirectory.


I am using a freshly installed Debian testing VM, with unstable added in
sources.list to be able to install x2gobroker. I used the following
command to install the packages: apt install apache2 x2gobroker
x2gobroker-wsgi

can you rebuild your x2gobroker instance from source with attached patch
applied (or alternatively, reconfigure your runtime instance as
demonstrated by the patch's content) and check whether the above issue
is solved then?

Thanks,
Mike

Hi Mike,

I have tested by purging all x2gobroker packages and rebuilding with
your patch. Can confirm that it solves the issue.

Kind regards,

Linnea

Thanks. Very cool!

Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgphhfDsTsXKA.pgp
Description: Digitale PGP-Signatur


Reply to: