[users@httpd] Re: Apache dropping Content-Length header for HEAD responses where Content-Length is 0

2022-04-05 Thread Piotr Dobrogost
Hi, I'm reposting my question posted here recently in hope for an answer. On freshly installed Apache 2.4.52 on Fedora with default configuration I'm observing that for HEAD response the Content-Length header is not being sent for empty files (it is present for non-empty files). When changing

[users@httpd] Virtualhost if statement (Multiple Subnets)

2022-04-05 Thread Pizu
Hi, Currently I am using the below in the virtual host ... I know that I can use the ElseIf in order to add more subnets but is it possible to read a file instead? Which will include all the subnets I want and just maintain the list from that file? Or maybe

Re: [users@httpd] Re: Serve multiple websites (not sub-domains) from port 80

2022-04-05 Thread Jens Kallup
Hello, Apache2.4 can be configured with IP-based, or Name-based VirtualHost's. Apache2.4 can handle multiple of such. But You need to point the Domain.TopLevelDomain to a IP, if You choose the first plan. On the second plan, You need to extend configure the Apache2.4 with DocumentRoot,