Content
struggling to install Openproject on Centos 7 - 403 Forbidden
Added by lethargos apatheia about 8 years ago
(I’ve already posted once, and I’ve no idea how to get that that particular post, there doesn’t seem to be any way sections like “my posts”, “subscribed posts”, whatever - but now I’ll try to be more succint and explain exactly what is going on).
I’ve installed openproject for Centos 7, following the instructions on the openproject site. Because there’s already a rewrite rule for https on openproject.conf (under /etc/httpd/conf.d) and a Listen 443 directive in the openproject configuration, I had to delete /etc/httpd/conf.d/ssl.conf.
Anyway, when I try to access it by web, I get a 403 Forbidden error. I tried both with and without /openproject at the end. As far as I can tell, I configured it with an “/openproject” suffix (this is what it says in installer.dat). So I’ve no idea where to go from here.
This is what /var/log/httpd/error.log says:
[Wed Jan 04 16:29:34.844468 2017] [autoindex:error] [pid 3277] [client 10.32.0.148:58019] AH01276: Cannot serve directory /opt/openproject/public/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
I’m guessing that I don’t actually need a DirectoryIndex directive, do I? That’s for listing the files themselves, instead of loading a website.
Where do I go from here?
Thanks!
Replies (4)
I’m amazed by the constant support I’ve received on this forum. I’m really looking forward to using openproject, having seem so much activity in the community. Schön.
If you delete the ssl.conf, nothing will be served towards the inner proxy. The Listen configuration only allows the server to listen on https, and the rewrite does nothing but effectively delegate to the
ssl.conf
.The error you’re seeing is just the default behavior of the
DocumentRoot /opt/openproject/public
directive without theIndexes
option.I’d suggest you let openproject configure the server again by running
openproject configure
, which should do the correct things.Best,
Oliver
Actually I did solve the problem. No, openproject configure didn’t work, I tried it many times. Configure and reconfigure and what not. The problem is related to the way the installer was adjusted for Centos and it’s related to the mysql rights. I guess Centos is too obscure a distribution for openproject to be able to make it work out of the box.
My only advice to people out there, I guess, is not use this crap :) Thanks.
Hi,
i face the same issue under centos.
Could you share, what you exactly did to solve the issue?
Thanks in advance for your Feedback.
Best Regards
Ming