wodby / apache Goto Github PK
View Code? Open in Web Editor NEWApache HTTP server docker container image
Home Page: https://wodby.com/stacks
License: MIT License
Apache HTTP server docker container image
Home Page: https://wodby.com/stacks
License: MIT License
I would like to mount my volume readonly but the container exits because it can't change ownership of the files.
Steps to reproduce:
$ docker run -v /home/user/www/:/var/www/html/:ro -p 8080:80 wodby/apache:2.4
Result:
chown: /var/www/html: Read-only file system
Hey there, hope you're all doing well, wanted to ask if you guys could add pagespeed_module
to the list of enabled modules since it is a somewhat common module to be used
Hi @wodbot ,
Hope you are all well !
I tried to load config files from https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker into your container but with no luck. Do you think it would be easy and possible to add apache-ultimate-bad-bot-blocker as a feature.
It would be awesome as it would look like https://github.com/bunkerity/bunkerized-nginx
Thanks for any insights or inputs on that topic
Cheers,
Luc Michalski
Hi, it would be great if we could change the default port from '80' to something else via a Docker environment variable.
Should be possible by templating the value here:
https://github.com/wodby/apache/blob/master/templates/vhost.conf.tmpl#L1
Hi everybody,
I am facing an issue when trying to use an .htaccess file using the HTML preset. After checking, I have noticed HTML preset has AllowOverride directive set to None, whereas PHP preset has it set to All.
I am going to submit a Pull Request to include an APACHE_ALLOW_OVERRIDE_ENABLED
environment variable.
Regards,
David.
The vhost template contains two sections that prevent .well-known
services from working:
<FilesMatch "^\.">
Order allow,deny
Deny from all
</FilesMatch>
<DirectoryMatch "^\.|\/\.">
Order allow,deny
Deny from all
</DirectoryMatch>
Any chance of getting this enhanced so that those increasingly popular service could be supported too?
On https://github.com/wodby/apache/edit/master/README.md#LN48
the link
Enabled Modules
doesn't works
404: Not Found
Any way to see the user's real ip in the logs?
It looks like it has something to do with traefik and the proxy apache configuration:
I would like to override HTML_DIR in my own instance of docker4drupal docker-compose.yml so that I can use my preferred directory structure without creating a derivative image
I am able to add the following, but because the directory does not exist the container won't start. I think this is the correct repository issue queue to add this issue to because HTML_DIR is defined in wodby/apache.
apache:
image: wodby/drupal-apache:2.4-1.0.2
depends_on:
- php
environment:
APACHE_LOG_LEVEL: debug
APACHE_BACKEND_HOST: php
APACHE_SERVER_ROOT: "/var/www/not-html"
HTML_DIR: "/var/www/not-html"
apache_1 | chown: /var/www/not-html: No such file or directory
apache_1 | chown: /var/www/not-html: No such file or directory
name_apache_1 exited with code 1
Would it be possible to add mkdir -p ${HTML_DIR}
into Dockerfile?
Is there a way to add more apache module? I need to add module_include
to a project I am working on. Not sure what the best way to handle adding it.
Running command httpd-foreground
httpd: Syntax error on line 59 of /usr/local/apache2/conf/httpd.conf: Cannot load modules/mod_authn_default.so into server: Error loading shared library /usr/local/apache2/modules/mod_authn_default.so: No such file or directory
any idea why i'm getting this error while running the apache:2.4? it does seem that this module is deprecated in apache 2.4 vs 2.2 but still being loaded?
I've been trying out Docker 4 Drupal as a local environment and it seems to work really well - thanks!
However, I've come across a need to install extra modules. For instance one in particular is imagemagick but I may need others and wondered if the steps in this thread might be helpful. Or is there a better way of doing this?
Are there any plans to have this as an extra config for the environment to be pulled in with the docker compose file?
Below is my apache server configin the docker-compose file for
apache:
image: wodby/apache:2.4-4.2.6
container_name: "${PROJECT_NAME}_apache"
depends_on:
- web
environment:
APACHE_LOG_LEVEL: debug
APACHE_BACKEND_HOST: web
APACHE_VHOST_PRESET: web
APACHE_SERVER_ROOT: /var/www/html/web
web is my PHP docker instance. I'm basically following dupal4docker example and i run into the above error in the subject line as well as setrlimit(RLIMIT_CORE): operation not permitted. I don't have this issue with nginx server. Help
https://travis-ci.org/wodby/apache/jobs/445998763#L489
httpd: Syntax error on line 159 of /usr/local/apache2/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: Error relocating /usr/local/apache2/modules/mod_ssl.so: SSL_CTX_set_post_handshake_auth: symbol not foun
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.