ndigitals / ols-dockerfiles

Unofficial build of OpenLiteSpeed, High Performance, HTTP/3 supported, ready to use on arm64.
MIT License
8 stars 2 forks source link

Add Missing ModSecurity Module #52

Closed timnolte closed 1 year ago

timnolte commented 1 year ago

Currently this Docker image is not being built with the ModSecurity module available. This will need to be built from source during the Docker image build.

timnolte commented 1 year ago

It turns out this is actually a bug since the README indicates it should have been built along with the OLS build however, the manual build is also failing which is an indicator that there is a problem. Going to need to check the build requirements as mentioned here to see if there is a required package missing.

timnolte commented 1 year ago

Some related issues:

YAJL can be manually downloaded, built, and installed on arm64, using the tagged release source tarball. However, when the OLS build tries to build the ModSecurity module it fails to find YAJL and still attempts to download the tarball of the source code to be built however it can't because of the branch/tag conflict in the YAJL repository that prevents ModSecurity from properly downloading the tarball from the Git repository.