Skip to main content

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
-1 votes
0 answers
10 views

if statement in htaccess

I'm using the following .htaccess to allow access to my website by IP address: <Limit GET POST> Require all denied Require ip x.x.x.x Require ip y.y.y.y </Limit> I was wondering if it ...
0 votes
0 answers
4 views

Config a CwPanel local server to read local domains

I have the following situation: I have a local test server where I use Almalinux 8 with CWPanel. I have several test domains configured on it: 192.168.1.50/~virtual 192.168.1.50/~cliente 192.168.1.50/~...
0 votes
0 answers
13 views

Is it possible to run TFTP from Apache server?

Today we run Open TFTP and Apache as two different applications on a Windows 11 Pro, x64-bit machine. We start them separately. The Apache we run is Apache Haus 2.4.46. Is there a way to run TFTP from ...
0 votes
0 answers
12 views

NGINX Autospawning of FastCGI Perl Scripts

For the last several years, I’ve been using a setup of NGINX as a reverse proxy that passes any dynamic content requests to Apache. Apache then uses mod_fcgid to autospawn FastCGI-enabled Perl scripts ...
1 vote
2 answers
4k views

Error when starting apache - apr_global_mutex_lockfile

Good morning, I am trying to start up Apache HTTPD 2.4.23 on my Centos 5.11 (Linux version 2.6.18-371.6.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) server. ...
0 votes
1 answer
419 views

503 Service Unavailable or Empty Response on specific pages over PHP (PHP-FPM) on MacOS

I've got a strange problem here involving some versions of PHP installed in my local machine (MacOS Ventura 13.5). Certain pages (two at this moment) doesn't load in some versions of PHP. It's loads ...
0 votes
1 answer
61 views

PHP shell_exec fails, terminal/CLI works

I have to get basic information about the operating system in PHP: $p = shell_exec('cat /etc/*-release 2>&1'); This returns: cat: '/etc/*-release': No such file or directory The command runs ...
0 votes
0 answers
34 views

Apache 2.4 config for fcgi with custom socket listening web app

I need a config for apache 2.4 which just connects to an open socket and talks fcgi over it. I am writing my own fcgi-enabled web app. By now, it opens a listening socket and when a web server (nginx ...
0 votes
2 answers
7k views

How do I configure Apache to proxy Tomcat using AJP?

I have a fresh install of Fedora 23 (Workstation) with fresh installs of Apache 2.4 and Tomcat 8. I'm attempting a very simple setup: A single instance of Apache will proxy all traffic for a single ...
0 votes
0 answers
226 views

OFBIZ: Compiling ofbiz 22.01 fails with "Could not target platform: Java SE 17 using tool chain: JDK 11" . ofbiz 17.12 and 18.12.12 compile succeeds

Questions: How can I correct the error Could not target platform Java SE 17 using tool chain JDK 11? What is the correct JDK to compile with for ofbiz 22.01? Ofbiz 17.12 and 18.12.12 use JDK jdk-8u412-...
0 votes
0 answers
21 views

How do I configure apache through virtualhsot to allow .well-known directory to be loaded and not get a 404 error

I have: <VirtualHost *:80> ServerName subdomain.maindomain.com DocumentRoot /var/www/subdomainFolder/public_html <Directory "/var/www/subdomainFolder/public_html/"> ...
-3 votes
2 answers
8k views

Allow https access only on Apache? [closed]

I want to allow https only on my Apache server on Raspbian, but every time I try to edit the ports.conf in /ect/apache2/ to listen to Port 443 and the sites-available/000-default.conf to: <...
2 votes
1 answer
6k views

Keycloak x.509 certificate authentication

I'm trying to set up the following architecture but I'm struggling: Keycloak container with this image jboss/keycloak:7.0.0 Apache with mod_auth_openidc The apache has a protected directory Apache ...
1 vote
1 answer
42 views

phpMyAdmin Login Page Error: mysqli::real_connect(): Premature end of data in XAMPP

I'm encountering an error when logging in to phpMyAdmin on my local XAMPP setup. The login page displays the following errors: mysqli::real_connect(): Premature end of data (mysqlnd_wireprotocol.c:387)...
1 vote
2 answers
4k views

Temporarily website outages, fastcgi PHP communication aborted

I've noticed that my web server has occasional 1-5 minute outages every day. I've checked the Apache error log and found the following: [Sun May 10 14:13:19.299784 2015] [fastcgi:error] [pid 2599:...
1 vote
0 answers
12 views

apache2 + mod_fcgid + perl-fcgi - logs are splitted from apache2

I try to run this code: #!/usr/bin/perl -w use strict; use warnings; use FCGI; my $request = FCGI::Request(); my $count = 0; while ($request->Accept() >= 0) { # Handle each request my $...
1 vote
2 answers
21k views

Apache conditional config with if-else directives

Rather than commenting/uncommenting alternative configuration settings in my httpd.conf file, I would like to use something like this: <If "0"> # ... </If> <Else> # ... ...
1 vote
2 answers
7k views

apache reverse proxy sometimes not working

I am using a digital ocean droplet (Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-52-generic x86_64)) to host both jira and confluence. They are started on the same ip but different ports. I wanted to access ...
1 vote
1 answer
82 views

Apache2 SSL handshake failure with Chrome

I would like to access my web site with Chromium browser (Version 124.0.6367.201 (Official Build) snap (64-bit)) but I face a fatal SSL error. According to the wireshark dump, the error is due to a ...
1 vote
0 answers
30 views

AH01797, access_compat:error cannot find root cause

No matter where I set my "Require all granted" block in my httpd conf, I keep running into these errors: [Thu May 30 10:55:16.510272 2024] [access_compat:error] [pid 1076428] [client 10.192....
0 votes
0 answers
63 views

Why won't the PHP cURL module load on my Windows/Apache web server?

Not sure if this is best suited to SO or here. I have an Apache 2.4 server running on Windows Server 2019 OS. I have installed PHP 8.1.29 from the Apache on Windows site and everything else about PHP ...
1 vote
1 answer
82 views

How to declare an explicit list of allowed client certificates in apache2 server

I use an apache2 server configured as a reverse proxy to access an internal service. To protect this service from unauthorized access I would like to use a certificate-based client authentication. ...
0 votes
0 answers
17 views

problems downloading static resource from apache

The resource is static file (archive.tar.gz) of approx 50MB served by apache 2.4.29 running on Ubuntu 18.04.3 with apache basic auth provided and pfsense 2.7.2 in front of apache. sometimes download ...
1 vote
2 answers
11k views

Tortoise SVN: Initial connect timeout

I have a problem when connecting Tortoise SVN to my SVN server. The first connect seems to run into a timeout (SVN hangs about 20 seconds) and the second (automatic) try works instantly. I.e. every ...
0 votes
0 answers
30 views

Restarting Apache workers (not graceful restart) without restarting loadbalancer and using python

I have two processes running as Apache servers on two different port numbers. I also have a failover server on another port and I am using the embedded Apache load balancer on windows. Both of Apache ...
0 votes
2 answers
69 views

IP denials and Apache

I am using Apache 2.2, and my .htaccess file is filled with "deny from"s to restrict IP access. You know, recognized spammers and the like. In upgrading to Apache 2.4, I am told that IP ...
0 votes
1 answer
58 views

Have anyone gotten (mono) xsp and mod_mono working on RH9 or OL9?

Have anyone gotten (mono) xsp and mod_mono working on RH9 or OL9? I have tried with packages from 8 and 7 (with mono-project-centos8 for missing packages) without any luck. We are aware we should ...
2 votes
1 answer
3k views

Rewrite Rule from .htaccess into Apache VirtualHost

I have the following .htaccess file: <IfModule mod_rewrite.c> Options +FollowSymlinks RewriteEngine On </IfModule> RewriteBase / RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:...
3 votes
3 answers
10k views

Apache reverse proxy AH01597: could not open mime types config file

I'm trying to configure Apache HTTP server 2.4 as a reverse proxy on RHEL 7 server. When Apache starts up it complains in its log file (/var/log/httpd/error_log): AH01597: could not open mime types ...
1 vote
1 answer
46 views

Simplesamlphp multisite setup apache vhost

Really need some help here. Off the bat, i have a LAMP server which i'm using to host multiple apache sites. RHEL 8.9, php 8.1. I have setup simplesaml php (SP) to authenticate against host IDP (Azure)...
0 votes
0 answers
242 views

Apache 2.4 Cipher Suite Mismatch from config

We are running Apache 2.4 as reverse proxy to a Tomcat 9.0.88 web application. We started having an issues after a fresh install where Apache was rejecting incoming ssl handshakes from other Web apps. ...
0 votes
1 answer
8k views

Error using mod_jk in httpd: undefined symbol: ap_get_server_version

We just recently installed a new RHEL7 server. Inside of this server, we have a bunch of vhosts, and inside the vhosts there is a couple of lines that looks like this - JkMount /rules_engine/...
1 vote
1 answer
12k views

How to fix AH00534: apache2: Configuration error: No MPM loaded?

When doing sudo apachectl graceful on my Debian 9 server I got the "AH00534: apache2: Configuration error: No MPM loaded." error message. The webserver still started and the error log was ...
-1 votes
1 answer
40 views

Self signed certificate for Ubuntu in Active Directory Windows clients

I have an Active Directory mydomain.local. I have an intranet web site with Ubuntu and Apache intranet.mydomain.local. I need an SSL certificate for this domain which can resolve all Active Directory ...
1 vote
1 answer
126 views

Fedora 40: Apache Httpd refuses to write to "/home" filesystem, but I checked SELinux settings

I'm installing FosWiki on a Fedora 40 Machine. The FosWiki top directory shall be /home/wikis/foswiki_company. Underneath that there are various directories for content, as well as the log directory. /...
0 votes
0 answers
68 views

Apache crashes causing 504s

I have a Centos 7 server on which I installed apache 2.4.58, it has been crashing for 2 days after a short time that it is online, I keep stopping the apache service (systemctl stop httpd.service) and ...
2 votes
1 answer
98 views

How do the RequestReadTimeout and Timeout directives interact, and why does my apache time out unexpectedly?

I might be mistaken, but Apache 2.4 docs about mod_reqtimeout and the core functionalities do not explain how the RequestReadTimeout and Timeout directives interact with one another: does one take ...
2 votes
2 answers
20k views

Apache: Request exceeded the limit of 10 internal redirects due to probable configuration error - WooCommerce

I have a woocommerce site. I have a recursive error in the Apache error.log: [Mon Nov 02 17:04:58.723578 2015] [core:error] [pid 2922] [client 172.31.12.207:19044] AH00124: Request exceeded the limit ...
4 votes
1 answer
5k views

Apache 2.4 with Kerberos Auth and LDAP Authorization

I am trying to setup an Apache SVN repository with Kerberos authentication and LDAP group membership authorization, so that only users that belong to a specific group can access it. Kerberos auth on ...
1 vote
1 answer
8k views

Using ProxyHTMLURLMap to redirect css and js requests

I already have apache 2.4.19 installed on my Ubuntu 16.04 working with Tomcat. I'm trying to add a node app and redirect all requests for /node to http://localhost:3000 with ProxyPass. My node app is ...
0 votes
1 answer
62 views

apache set location with subdirectory

I am trying to install iredmail with apache. but now i have a problem i can serve only python file of iredadmin or static files. I need to make both of them working. <Location "iredadmin/...
0 votes
1 answer
63 views

Apache config to proxy entire site with 1 exception

I have a website www.example.com on a hosting provider. We use that provider because it has a simple site builder my wife uses to maintain the site. Moving off of it isn't an option for this ...
2 votes
2 answers
5k views

Spring Boot Apache SSL Reverse Proxy

I have a Spring Boot application that runs on a Amazon Linux server. I use Apache HTTP server as a proxy server for this application. Recently I installed Let's Encrypt SSL certificate and added a ...
38 votes
4 answers
76k views

Using Https between Apache Loadbalancer and backends

I am using an apache (2.4) server configured as loadbalancer in front of 2 apache servers. It works fine when I use http connections between loadbalancer and backends, however using https does not ...
0 votes
1 answer
232 views

AH00170: caught SIGWINCH, shutting down gracefully

i have a web server on Debian and Apache2, about once a day or once every 2 days Apache2 crashes, here are the Apache2 error logs: [Wed May 22 13:04:01.082969 2024] [mpm_prefork:error] [pid 874799] ...
0 votes
0 answers
32 views

Apache reverse proxy, add http request header according to REMOTE_USER use RewriteRule and RequestHeader

I'm trying to set up an Apache reverse proxy on server B for a private server A, which has three users: a1, a2, and a3. Server B utilizes a TXT map file to map all kinds of users on server B (b1,b2...)...
35 votes
4 answers
260k views

How to generate .key and .crt file from JKS file for httpd apache server

I have the mycert.jks file only. Now i need to extract and generate .key and .crt file and use it in apache httpd server. SSLCertificateFile /usr/local/apache2/conf/ssl.crt/server.crt ...
2 votes
0 answers
40 views

Apache deadlock when writing in file

Apache v2.4.56 on Solaris, with libapr 1.6.2. When starting, it spawns 5 httpd processes. Occasionally the server hangs and does not accept requests. It's even impossible to connect to port 80. I did ...
0 votes
2 answers
8k views

Apache 2.4 https server gives connection refuse error on mac osx

I'm a newbie on Apache and I was set up my https server on OS X EI follows this article. But I always get refuse connection error, please help. This is my httpd-ssl.conf file: <VirtualHost *:443&...
2 votes
0 answers
28 views

Client certificates and custom revoked html

I can configure Apache to authenticate users with client certificate and validate them via OCSP. Do you know how can I redirect the user to a custom html page if the certificate is revoked? The ...

1
2 3 4 5
121