harvard-itsecurity / docker-misp

Automated Docker MISP container - Malware Information Sharing Platform and Threat Sharing
BSD 3-Clause "New" or "Revised" License
175 stars 44 forks source link

404 The requested URL /users/login was not found on this server. #5

Closed lordofthefries closed 7 years ago

lordofthefries commented 7 years ago

After running the build script, I initialized the database, and ran the container. Upon connecting, I got a 404 not found for the users/login page. The rewrite mod is enabled, and it seems like everything else is running.

Any ideas on fixes?

bschildendorfer commented 7 years ago

The problem is a missing directive in the apache config. Pull request solves the issuve: https://github.com/harvard-itsecurity/docker-misp/pull/6 or use https://github.com/bschildendorfer/docker-misp

SiebertT commented 7 years ago

@ventz get this fix committed please :)

ventz commented 7 years ago

@bschildendorfer - Thanks. Will merge and fix today.

(@SiebertT - Thanks for the mention. Something is going on with Github because for some reason these notifications are not generating an email.)

ventz commented 7 years ago

Fixed and pushed out: https://github.com/harvard-itsecurity/docker-misp/commit/59f63b7d6c06527a1c8881616e44995077d8a013

Thanks guys - really appreciate catching this!

umairbukhari commented 6 years ago

@ventz seems like I am still facing the same problem

ventz commented 6 years ago

@umairbukhari This was already fixed by: https://github.com/harvard-itsecurity/docker-misp/commit/59f63b7d6c06527a1c8881616e44995077d8a013

Can you please verify that when you clone the repository you have that change (line 97 in container/Dockerfile) in your pull?

ventz commented 6 years ago

@umairbukhari Please try this now - it looks like Ubuntu flipped the Apache 2.4 access control parser to the Apache 2.2 one. This made the required "Require all granted" in Apache 2.4 not parse. (see requirement here: https://httpd.apache.org/docs/current/upgrading.html)

Removed 2.4 directive and left the 2.2 directive with the latest update which is now pushed out: https://github.com/harvard-itsecurity/docker-misp/commit/9d6576f89205413df4eed12d89cc6ba4a4b67e2c