Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mod_proxy_html missing from Apache 2.4.x builds #41361

Closed
nhhollander opened this issue Jul 17, 2023 · 5 comments
Closed

mod_proxy_html missing from Apache 2.4.x builds #41361

nhhollander opened this issue Jul 17, 2023 · 5 comments
Assignees
Labels
apache solved tech-issues The user has a technical issue about an application

Comments

@nhhollander
Copy link

Name and Version

bitnami/apache 2.4.57

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. Create a new Apache container with docker run bitnami/apache:latest
  2. Insert a httpd.conf file that attempts to load the mod_proxy_html module
  3. Restart the server process

What is the expected behavior?

The mod_proxy_html module should be loaded.

What do you see instead?

Server terminates with httpd: Syntax error on line 26 of /opt/bitnami/apache/conf/httpd.conf: Cannot load modules/mod_proxy_html.so into server: /opt/bitnami/apache/modules/mod_proxy_html.so: cannot open shared object file: No such file or directory

Additional information

The mod_proxy_html module has been an Apache base module since version 2.41. Prior to this version, it was an optional third party module offered by WebÞing2. The docker official httpd image for apache 2.4.57 is built with this module included. This can be verified by running docker run --entrypoint ls httpd -alh /usr/local/apache2/modules/mod_proxy_html.so

Footnotes

  1. https://httpd.apache.org/docs/2.4/mod/mod_proxy_html.html

  2. http://apache.webthing.com/

@nhhollander nhhollander added the tech-issues The user has a technical issue about an application label Jul 17, 2023
@bitnami-bot bitnami-bot added this to Triage in Support Jul 17, 2023
@github-actions github-actions bot added the triage Triage is needed label Jul 17, 2023
@carrodher
Copy link
Member

Here you can see some examples about how to extend this image in order to include some modules, could you try this approach?

@github-actions github-actions bot moved this from Triage to Pending in Support Jul 17, 2023
@nhhollander
Copy link
Author

It's definitely possible to extend the build and insert a copy of mod_proxy_html, I was mostly interested in why the module was not being included in the Bitnami Apache image after it was made a base module. I wasn't sure if this was an intentional omission or if it was just being left out by your automated build systems.

@bitnami-bot bitnami-bot moved this from Pending to Triage in Support Jul 17, 2023
@carrodher carrodher moved this from Triage to In progress in Support Jul 18, 2023
@github-actions github-actions bot added in-progress and removed triage Triage is needed labels Jul 18, 2023
@bitnami-bot bitnami-bot assigned joancafom and unassigned carrodher Jul 18, 2023
@joancafom
Copy link
Contributor

Hi @nhhollander

I can't see a good reason why we are not shipping it at a first glance. I will create an internal task for the team to evaluate and add support for it, thanks!

@joancafom joancafom added on-hold Issues or Pull Requests with this label will never be considered stale and removed in-progress labels Jul 19, 2023
@github-actions github-actions bot moved this from In progress to Pending in Support Jul 19, 2023
@joancafom joancafom moved this from Pending to On hold in Support Jul 19, 2023
@ctc-longr
Copy link

I too have this same issue. I've extended my own image to include kerberos SSO support with GSSAPI so I'm ok with modifying it, but this being a base module seems best to get from the same build as the original. Can you comment on the move from on-hold to in-progress and back? Is there a technical or other issue which would prevent this from being made available soon? Alternatively, are there remaster instructions for the bitnami build and packaging steps instead of just extending it in-place on-top?

@bitnami-bot bitnami-bot moved this from On hold to Triage in Support Jul 31, 2023
@github-actions github-actions bot added triage Triage is needed and removed on-hold Issues or Pull Requests with this label will never be considered stale labels Jul 31, 2023
@carrodher carrodher moved this from Triage to On hold in Support Aug 8, 2023
@github-actions github-actions bot added on-hold Issues or Pull Requests with this label will never be considered stale and removed triage Triage is needed labels Aug 8, 2023
@gongomgra
Copy link
Contributor

gongomgra commented Nov 16, 2023

Hi @nhhollander, @ctc-longr,

We have just released tag 2.4.58-debian-11-r1 of our Apache container adding the mod-proxy-html module (disabled by default).

docker run --rm -it bitnami/apache:2.4.58-debian-11-r1 bash
Unable to find image 'bitnami/apache:2.4.58-debian-11-r1' locally
2.4.58-debian-11-r1: Pulling from bitnami/apache
818eb273082b: Pull complete
Digest: sha256:f80cc016c836f9b4ccae1020344dec6266af9f514b0221b17a28bc2f86a39f75
Status: Downloaded newer image for bitnami/apache:2.4.58-debian-11-r1
apache 12:00:24.07 INFO  ==>
apache 12:00:24.07 INFO  ==> Welcome to the Bitnami apache container
apache 12:00:24.07 INFO  ==> Subscribe to project updates by watching https://github.com/bitnami/containers
apache 12:00:24.07 INFO  ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
apache 12:00:24.08 INFO  ==>

I have no name!@e3f1e424f9d4:/app$ ls -larth /opt/bitnami/apache/modules/mod_proxy_html.so
-rwxr-xr-x 1 root root 47K Nov 16 09:17 /opt/bitnami/apache/modules/mod_proxy_html.so

I have no name!@e3f1e424f9d4:/app$ grep -i "loadmodule.*proxy_html" /opt/bitnami/apache/conf/httpd.conf
#LoadModule proxy_html_module modules/mod_proxy_html.so

Hope it helps!

@github-actions github-actions bot moved this from On hold to Pending in Support Nov 16, 2023
@gongomgra gongomgra removed the on-hold Issues or Pull Requests with this label will never be considered stale label Nov 16, 2023
@bitnami-bot bitnami-bot moved this from Pending to Solved in Support Nov 16, 2023
@github-actions github-actions bot removed this from Solved in Support Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apache solved tech-issues The user has a technical issue about an application
Projects
None yet
Development

No branches or pull requests

5 participants