Questions tagged [apache-2.4]

Version 2.4 of the Apache HTTPd Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)

Filter by
Sorted by
Tagged with
0 votes
0 answers
74 views

Apache2 with Virtualhosts and Cloudflare are not working

I have a Debian 11 Server with one public IPv4 Address and One Domain. The subdomain mail is defined in a virtual host with a reverse proxy for mailcow. The subdomain mail is also the reverse DNS for ...
M. Loe's user avatar
  • 1
0 votes
0 answers
64 views

SVN only fails to commit new files that have been svn:copied with RA layer request failed error, changes and additions work fine

Whenever I try to commit a new file that has been created using svn:copy I get the following error: RA layer request failed Commit failed (details follow): Unexpected HTTP status 502 'Bad Gateway' on '...
Wholesome PJ's user avatar
0 votes
1 answer
172 views

How does Php-fpm access filesystem, or does it?

Background: My server has become too old to upgrade. Some software will only work on PHP 5.6 and is incompatible with newer versions of PHP. New server hosting packages do not support PHP 5.6 as it ...
David Newcomb's user avatar
0 votes
1 answer
57 views

Apache AliasMatch with Wildcard Not Working As Intended

I am trying map all wildcards for a directory /a/* onto on file article.php using AliasMatch ^/a/(.*) /article.php but without redirecting (I want to keep the url looking the same). But I am getting a ...
Maciek's user avatar
  • 139
0 votes
1 answer
63 views

How to determine what CVE is back ported to what version of package?

I'm trying to determine what version of apache is backported for CVE-2021-40438. I'm very confused as to how to find out. Our spacewalk server has multiple apache versions of 2.4.37 from -10 to -56 ...
Scivic's user avatar
  • 1
0 votes
0 answers
378 views

Is it possible to proxy websocket connections with mod_rewrite?

Currently, I have an Apache web server configured to respond to myserver.com. Additionally, I have a second web server application listening on port 4321 in localhost on the server. I want this web ...
Exprove's user avatar
  • 101
0 votes
0 answers
30 views

Apache Wildcard Directory Use Alias File

I am trying to achieve the following: All searches at https://example.com/a/* will display file article.php. For example (links to articles): https://example.com/a/new-robot-eats-banana https://...
Maciek's user avatar
  • 139
1 vote
1 answer
148 views

Could not bind to address no listening sockets available

RockyLinux 9. On reboot Apache fails to start with the message Jul 21 10:53:13 cl httpd[877]: (99)Cannot assign requested address: AH00072: make_sock: could not bind to address 1.2.3.4:80 Jul 21 10:53:...
Clodoaldo's user avatar
  • 433
0 votes
0 answers
35 views

Apache expressions: Function "file" - How about the performance?

How about the performance of Apache's expression function "file"? Does anybody have any experience? Does it only load on start-up? Does it load on first access? Does it always re-load if ...
luzze's user avatar
  • 13
0 votes
0 answers
58 views

Apache Basic authentication based on AuthUserFile is ignored, when mod_auth_radius.c is enabled

I hope you can help me with my problem. I initially had a vhost config with Basic Authentication with "AuthUserFile" which works fine. Now I wanted to use Radius for certain sites and ...
matrix154's user avatar
0 votes
0 answers
130 views

SNI and TLS errors on apache reverse proxy host when proxying multiple sites from different servers?

I have an apache2 reverse proxy which is proxying many services including zabbix and nextcloud, and applying a wildcard SSL certificate to said services. These are individual virtual hosts, though ...
surfrock66's user avatar
0 votes
0 answers
116 views

Limit requests in a particular time from the same IP

I found that there is a bug in a library of an app that sends requests to my server. It sends sporadically twice the same requests instead of one in the same time. It makes the app working incorrectly....
forsberg's user avatar
  • 101
0 votes
0 answers
47 views

Interpolate environmental variable into a string

In a <VirtualHost> block I have this: # Extract the first subdir and assign it to "subdir" SetEnvIfNoCase Request_URI "^/?([^/]*)(?:/|$)" subdir=$1 # Add the subdir to the ...
MonkeyZeus's user avatar
0 votes
0 answers
48 views

Server slow with many idle workers

Yesterday, I notice my WP Dashboard is a little slow compared with normal. So I check my Apache status, and find there are only 7 requests are being served, with remaining 193 idle workers. And the ...
alancc's user avatar
  • 163
0 votes
2 answers
63 views

Apache virtualhosts conf let wrong servername requests going through proxy

I have moved a server configuration to a new server and at the same time configured it with apache mod_proxy to access a gunicorn/django webserver (inside a docker container on port 8000). Previous ...
yo_e-h's user avatar
  • 3
0 votes
1 answer
236 views

Clients of a site are getting SSL_ERROR_HANDSHAKE_FAILURE_ALERT (Firefox) and ERR_BAD_SSL_CLIENT_AUTH_CERT (Chrome)

I'm running a site in AlmaLinux 8.8 (Centos) and Apache 2.4.56. The site has a self-signed certificate. When I access the site, I get the usual warning due to the self-signed certificate. After ...
ePi272314's user avatar
  • 101
0 votes
0 answers
526 views

configuring content-security-policy for apache virtual hosts

I have Apache 2.4 with these sites configured in the httpd-vhosts.conf file: <VirtualHost *:80 *:8080 *:8084> DocumentRoot "c:\apache_php\sites\public" ServerName www.mydomain....
raphael75's user avatar
  • 133
0 votes
0 answers
155 views

Apache URL rewrite to hide port numbers of web servers

I have an Ubuntu server running Gitea and Jenkins on ports 3000 and 4000 respectively. I want to be able to access them through a user friendly url like http://myhost/gitea and http://myhost/jenkins. ...
shane.singwa's user avatar
2 votes
1 answer
463 views

Why is my Apache Virtual Hosts configuration not working correctly?

Background I have been using an Apache server with only one site and this has been working really well. My working single-site config is at the bottom of the question. Recently, I have had to create ...
GeorgeCiesinski's user avatar
2 votes
3 answers
513 views

Apache 2.4.51 bypass Basic Auth for specific query string

I need Basic Auth on my website, except if a specific hash is present in the URL. www.example.com => Authentication required www.example.com/whatever => Authentication required www.example.com/...
MrUpsidown's user avatar
0 votes
0 answers
48 views

Make Apache 2.4 folder visible in File Explorer for local Network

I have a site hosted on a Apache 2.4 server. Is there a way to make a particular folder on that site, like /var/www/uploads/, visible in File Explorer for people in the local Network, so they can ...
arthur k's user avatar
0 votes
0 answers
77 views

Apache 408 log entries

In my Apache logs there are lots of 408 entries, it looks like connection to server is ok and then no traffic. 46.114.5.234 - - [09/Jul/2023:10:42:59 +0200] "-" 408 152 "-" "-&...
Mr.Spock's user avatar
0 votes
0 answers
68 views

Apache 2.4 ProxyPass to url results in errors 403 and 502 for Diaspora and Mastodon

I'm trying to run Diaspora and Mastodon on my server (crazy idea, right?) and Apache's ProxyPass won't work to localhost ports 3000 (Diaspora) and 4000 (Mastodon). I get a 403 for both https://...
headrift's user avatar
0 votes
0 answers
30 views

Serving webpage in different language based on HTTP headers, using Apache negotiation module - shows dir listing only

I would like to configure Apache, such that when we send a request with a given language header, the server should send us back the right version. For example, I have index.eng.html and index.de.html. ...
mazix's user avatar
  • 65
0 votes
2 answers
190 views

Apache directory listing: Permission denied

So, I want to achieve something which should be easy: I want my Apache webserver to deliver its automatically generated directory listing since it is about statics HTML and PDF files. However, I ...
rexkogitans's user avatar
0 votes
0 answers
74 views

In .htaccess, can I pass on "OPTIONS *" to be handled by PHP?

I have a RewriteRule .* index.php to catch everything Everything else seems to pass through just fine, even OPTIONS /. But Apache doesn't seem to let me handle OPTIONS *, and in fact just returns a ...
Tor Valamo's user avatar
0 votes
1 answer
526 views

openssl s_client works with IP, but does nothing with domain name

I recently-ish set up an internal (firewalled) apache2 web server that exactly one of my colleagues cannot reach for some reason (PR_END_OF_FILE_ERROR, indicating something's wrong with the handshake/...
MrArsGravis's user avatar
-1 votes
1 answer
369 views

Windows Server 2022 2 IPs with IIS and Apache on port 80

I have a Windows Server 2022 with 1 NIC that has 2 addresses, 192.168.1.8 and 192.168.1.9. There's 2 sites on IIS that listen on 192.168.1.9:80, 192.168.1.9:443 and 192.168.1.9:856, these used to ...
Daviid's user avatar
  • 99
0 votes
0 answers
149 views

Multiple NextCloud instances behind NGINX Reverse Proxy

Currently I have a NGINX proxy running that manages all domains and SSL certificates. Now I want to access two NextCloud instances on one server (Apache, different paths) via different subdomains. Eg. ...
Patrick's user avatar
0 votes
0 answers
48 views

Apache returns 408 when prepending www

I have a server running debian 8.11 and apache 2.4.10 configured to serve 2 websites. One is a website built with wordpress (example.com), the other is a forum built with NodeBB (forum.example.com, ...
Jarko's user avatar
  • 1
0 votes
1 answer
110 views

Apache 2.4 LDAP "password mismatch" but password is correct

I run apache2.4 on debian and LDAP-Auth tells me "password mismatch" but I am very sure I use correct passwords (tested multiple users). I also asked chat-gpt and it told me maybe my ...
tux's user avatar
  • 1
2 votes
1 answer
216 views

Ways to make deployment ready pre-compressed brotli files on windows server

I am dynamically generating HTML files, which I use for deployment. This is what I use to make these HTML file: function writeFile() Dim objStream Set objStream = CreateObject("ADODB....
MeSo2's user avatar
  • 274
0 votes
0 answers
52 views

Apache Centos mutiple instances and virtual hosts

I installed apache on centos and added two virtual hosts (server1.com and server2.com ): server1.conf Listen 443 https <VirtualHost *:443> DocumentRoot /opt/server1/ ServerName server1....
el sparrow's user avatar
1 vote
1 answer
191 views

Apache RedirectMatch not matching double slash

I want to redirect URLs with multiple consecutive slashes (e.g. //) in the path to have only one consecutive slash, e.g. https://example.com/a//b/c/ → https://example.com/a/b/c/. My .htaccess file ...
fionn's user avatar
  • 13
0 votes
0 answers
30 views

Project specific LDAP authorization for SVN

I am using Apache 2.4 on Ubuntu 14.04 and SVN 1.8.8. I have installed SVN server and created a number of repositories (one per client). For each team working for each client, I added configurations ...
Hussain Akbar's user avatar
0 votes
0 answers
67 views

SSPI, Treat wrong credentials as anonymous user

I'm running apache 2.4 with xampp, and so far my sspi works well with mod_authnz_sspi. I would like to accept all users, but get their name in $_SERVER['REMOTE_USER'] if they are in my active ...
Neil's user avatar
  • 101
0 votes
1 answer
75 views

SSL certificate not working for www subdomain on multiple domain setup

I have a LAMP server running CentOS Stream 8 and Apache 2.4.37. On this I have three domains (let's call them example.com, example.net & example.org). I have SSL certificates for each domain + the ...
Adrien Hingert's user avatar
0 votes
1 answer
288 views

htaccess file with RewriteEngine On causes a 403

Windows Server 2022 Apache 2.4.57 x64 httpd.conf - relevant <Directory /> Options none AllowOverride none Require all denied </Directory> DirectoryIndex index.html <Files &...
MonkeyZeus's user avatar
-1 votes
1 answer
183 views

.htaccess makes WordPress Dashboard very very slow

Today I suddenly find the WordPress Admin dashboard is very very slow. It takes about 60s or more to access the post list, plugin list, etc. Or will just show an time-out error. I try the following ...
alancc's user avatar
  • 163
0 votes
1 answer
113 views

Apache module proxy_html not working

I have a Joomla 4 site running in a Ubuntu 22.04 server (hostname = web-02). The Internet facing web server running in a Ubuntu 20.04 server (hostname = web-01) has configured as a reverse proxy for ...
cpliu338's user avatar
  • 111
0 votes
0 answers
79 views

AH00046: child process {pid} still did not exit, sending a SIGKILL

We hosted our wordpress site in linux apache. We are using apache version 2.4 Our site getting timeout issue and getting downtime frequently or we will face delayed response from site. While ...
priya's user avatar
  • 1
0 votes
1 answer
24 views

Find out what's causing the sudden rise in traffic?

My webserver (Debian Bullseye, Apache2) is serving about 50 (small) websites spread over 16 ip addresses. I just noticed that on one of the ip addresses, since the beginning of this month traffic has ...
Zippy1970's user avatar
  • 259
0 votes
0 answers
38 views

Can DispatcherPassError be set selectively for some URLs in AEM?

In AEM (Adobe Experience Manager) Dispatcher configuration, can the directive DispatcherPassError be set only to requests with some specific selector in the URL? I'd like the dispatcher to return a ...
pkalinow's user avatar
  • 101
0 votes
0 answers
17 views

Apache Rewrite URL not working

The existing configuration of the server is as below for redirect host: animal.ca <VirtualHost *:80> ServerName animal.ca:80 RewriteEngine On LogLevel alert rewrite:trace6 ...
Likhitha's user avatar
0 votes
1 answer
82 views

Apache running but saying it's failed [CentOS 8 Stream]

On a clean install of CentOS 8 Stream I run the following commands yum install httpd -y yum install mod_ssl -y httpd -k start systemctl enable httpd At this point Apache is running and pages ...
Adrien Hingert's user avatar
0 votes
0 answers
22 views

Apache : wild card redirection rules

I have the below requirement for an apache redirection. When this url comes https://example.com/first-path/index.jsp?jpc=red it should go to. https://example.com/red Where jpc is a constant value key ...
Toji K Dominic's user avatar
1 vote
1 answer
321 views

Apache virtual hosts and config inheritance

I have Apache HTTP server set up and running with a bunch of Virtual Hosts which are using Let's Encrypt certificates. However, I can't get sure if global SSL options are inherited by all VHosts. In ...
Drobot Viktor's user avatar
0 votes
0 answers
58 views

fcgid is not handling. Why?

I am using: apache2 2.4 on Ubuntu 23 / WT (webtoolkit witty). I am trying to use WT with fcgid. My hello.conf file is: <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName ...
lid's user avatar
  • 13
0 votes
1 answer
67 views

Is it possible to set up .htaccess rule for incoming traffic from 301 redirect?

We have a permanent 301 redirect that is set up for an old site that is now being redirected to a page on a new site. Is it even possible to set up an .htaccess rule on our new sites Apache server to ...
deeholzman's user avatar
0 votes
1 answer
250 views

Is there a way to restart apache ignoring ssl certificate errors?

My server has lots of virtualhosts, many client's domains come and go pretty frequently, and sometimes it's difficult to act quickly, finding the culprit (usually a dismissed domain) and restart ...
user1967184's user avatar