All Questions
40
questions
0
votes
0
answers
27
views
Reverse proxy to container is looking for static files outside of the container
I have a website running through a docker container, and I've created a VirtualHost in the host's that is doing a reverse proxy to it, it looks something like this:
<VirtualHost *:80>
...
1
vote
2
answers
43
views
Apache optionally enable ssl if cert file present
I have a containerized apache setup that needs to optionally enable SSL if the cert file was mapped in. I have this working for the case of when the cert files are mapped in, but struggling with the ...
0
votes
0
answers
59
views
Website redirects are not working when using Pihole on docker instead of VM
I’m currently in the middle of moving some infrastructure to containers from a ton of VM’s running simple things.
I’m trying to move our pihole DNS server to a container. All was working well, until I ...
0
votes
0
answers
369
views
Logging all http requests to domain
I bought a domain name and I would like to log what http requests it receives. Logging the requests headers, url, type and message body. Looking for an easy/affordable solution. Standing up an Apache ...
2
votes
1
answer
1k
views
Apache GZIP for images - any reason?
JPEG, GIF, PNG and WEBP images are already compressed. Is there any reason to serve them up using GZIP compression, regardless of whether or not the client says it may accept GZIP compression?
curl -H ...
0
votes
1
answer
220
views
Apache child processes are launched more than ServerLimit and threads are executed more than ThreadsPerChild
The following version of Apache is used. (MPM : event)
httpd -V
Server version: Apache/2.4.37 (Red Hat Enterprise Linux)
Server built: Jun 15 2022 08:27:14
Server's Module Magic Number: xxxxxxxx:xx
...
0
votes
0
answers
843
views
Apache on OSX: "not running" and "already in use" for all processes?
OS: macOS Mojave 10.14.6
HTTP Server: Apache 2.4.55
When trying to restart apache server, I get "Address already in use..." message. Hm, so there must be a process that listens to that port, ...
0
votes
1
answer
301
views
Exclude specific URL from HTTP to HTTPS redirect in apache2 virtual host
I'm looking for an easy configuration to exclude a specific URL(pattern) from my apache2 HTTP to HTTPS redirect and failed so far. Background is an API with typical authorization mechanics which ...
1
vote
0
answers
189
views
Set Apache to Block HTTPS Requests to a Certain Subdomain
I have these domains
domain.com
www.domain.com
srv.domain.com
pointing to the same server IP, but want my website to be accessible only via domain.com and www.domain.com which have SSL certificates. ...
2
votes
1
answer
337
views
How can Apache log whether requests are using HTTP2 or not, in a manner that can't be easily spoofed by the client?
According to this, including %H in your LogFormat is supposed to log the HTTP protocol version, however, it appears to be unreliable.
As an example, one can telnet to port 80 of the web server and ...
0
votes
1
answer
176
views
Getting random 404 requests from unknown IPs in Apache + Ubuntu server
This is strange.
I just installed a new Ubuntu + Apache in my Digitalocean droplet and installed a Laravel APP there.
Now suddenly I see these kind of strange POST, GET and CONNECT requests from ...
1
vote
1
answer
853
views
Set HTTP/HTTPS man-in-the-middle proxy for webserver (Apache2)
To log all http/https requests by a specific application, we use man-in-the-middle proxies (set as http or SOCKS5 proxies). On our local Windows and Mac machines, we usually 'proxify' apps or ...
0
votes
2
answers
498
views
Why is my valid SSL certificate invalid on a particular site with the same host?
I have hosting set up with HostEurope. My SSL certificate seems to be valid (it has not expired etc.) and it works for one the domains I use on my server (the SSL certificate was purchased for this ...
2
votes
0
answers
173
views
Returning custom HTTP status apache2
I'm hosting a webpage with apache and would like to be able to return custom HTTP status codes on a certain page. PHP does this just fine with http_response_code($code) but once it gets to apache it ...
0
votes
0
answers
224
views
Varnish probe thinks web is down if he gets 103 http code
This is my first post in this forum and I will say that I am sorry for all the mistakes that I will make in this post. This is a desperate call for help as I was not able to find any kind of ...