All Questions
Tagged with apache-2.4 debian
145
questions
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
1
answer
67
views
why does apache2.conf grants access to /usr/share and /serv by default?
I am aware of this question, which is very similar to mine, however I am interested in why this is the default behaviour.
Since by default the document root is /var/www/html, there is, to my knowledge,...
0
votes
0
answers
121
views
Apache 2.4 multiple instances on Debian
Apache ships with a script for creating multiple instances on the same server, which is exactly what I want to do. The first instance is happily up & running on ports 80 (http) and 443 (ssl).
File ...
0
votes
2
answers
234
views
websockets apache2 not working
I'm busy with implementing websockets on our reverse proxy (apache2) we redirect our traffic to tomcat with a proxypass but it's not working we get an 403 (forbidden in our logs)
apache vhost file:
&...
0
votes
0
answers
203
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 ...
0
votes
1
answer
405
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 ...
1
vote
1
answer
473
views
Reverse-Proxy login page not works on Apache2
I'm trying to setup a reverse-proxy on a debian11 with apache2 and it works but when you access the serveur on background by the reverse at the beginning you arrive on a login page in the application ...
0
votes
0
answers
18
views
Can't call apache2 web server from local network, but outside works fine [duplicate]
I have a Debian 10 server where I have installed Apache2. I have a domain, let's call it mydomain.com, pointing to my public IP address. The server runs fine, as I can access it with no problems using ...
0
votes
1
answer
220
views
How to split the 2 IP addresses appended by google cloud load balancer
I am using apache as my webserver for drupal. Also, I am using google cloud CDN and my instance is behind a load balancer (requirement for google cloud CDN). The issue is that the load balancer ...
0
votes
0
answers
3k
views
Systemd error: "Failed to get properties: Transport endpoint is not connected"
Background info first. The server that this occurs on has only been on for less than a year and includes an external SAS JBOD. This server was intended to take on the duty of an old web server, ...
-1
votes
1
answer
199
views
My server is attacking other servers
I've been reached by OVH multiple times regarding a dedicated server which I bought from them, and they're saying that the server is attacking other hosts on their network.
The first time, the server ...
0
votes
0
answers
228
views
Apache2 not working with PHP
I have Apache2 running on a Debian 11 box (x64). It was installed with an Openmediavault ISO, with nginx and PHP 7.4 installed already (for the web UI) I try to install the PHP connector for apache2 (...
1
vote
0
answers
867
views
PHP-FPM - Debian <> Apache - 504 Gateway Timeout Error
After switching to PHP-FPM with MPM Event, there are always 504 Gateway Timeout Errors. Apache no longer answers requests. Instead there is a connection timeout. In some cases, requests are answered ...
0
votes
0
answers
248
views
Mounting a filesystem for all processes from within a service/webserver
I'm trying to create a local website that allows me to decrypt a file, mount its contained filesystem and start a systemd service without accessing the console. The started service then uses the files ...
0
votes
0
answers
117
views
Apache hits max connections after server upgrade
I recently upgraded a web server from Debian 8 to Debian 11, no errors concerning Apache were noted. Before the upgrade the website performed smoothly. The only configuration change made was to switch ...
0
votes
1
answer
116
views
apache 2.4.6 site works on Debian 10 but not on CentOS - php 7 code
I have a bootstrap website that runs on Debian 10 - php 7.4.25, httpd 2.4.52, mysqld 15.1 Distrib 10.5.12 which works perfectly.
I copied it to my CentOS 7 box, which has selinux running as permissive ...
0
votes
4
answers
208
views
How to secure my server with UFW (presumed under attack)
I am running Apache on Debian.
Below is a sample of entries in my apache error log. Question 1: Is the server under attack (I see about a 30-40 such entries every hour). I am presuming that these are ...
2
votes
1
answer
828
views
Setting up password only authentication in apache
I have a folder on my website using apache basic authentication.
The Auth is controlled by a .htaccess file which has been placed into the directory that should be protected.
This is the content of ...
2
votes
1
answer
1k
views
debian - packages have unmet dependencies
i am having Debian 11, and i am trying to install some php libs like mysql:
command: sudo apt install php-mysql
result:
Reading package lists... Done
Building dependency tree... Done
Reading state ...
2
votes
1
answer
2k
views
Apache MPM workers stuck in G (gracefully finishing) growing - "scoreboard is full"
Running MPM worker, Apache 2.4.46, Debian 9
Gracefully finishing workers just grows over time, they dont seem to ever finish. Eventually I run out of capacity and get "scoreboard is full" ...
0
votes
1
answer
638
views
How to allow an ip address to access a specific port on the server without blocking other traffic
First off, am using Firewalld and my configuration is as follows:
All traffic is allowed (nothin fancy).
Server has MySQL and Apache2 (Linux Debian)
I need to allow MySQL remote connections to a ...
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 ...
0
votes
1
answer
1k
views
Debian 10 PHP not parsing in apache (fresh install)
I know this is an ancient problem with lots of answers but none of the existing solutions seem to be working.
This is a fresh install of Debian 10, apache2 has been installed and php (7.3).
Apache is ...
1
vote
1
answer
192
views
Random Internal Server Error
We are receiving random internal server errors on one of our website.
These internal server errors can sometimes appear only on some users but other users are not receiving it (at the very same time) ...
0
votes
1
answer
1k
views
Accessing default MPM prefork values in Ubuntu(debian based architecture) vs CentOS (Red Hat Enterprise Linux)
I was trying to list the MPM prefork default configuration values in apache web server. In ubuntu, apache web server, I could access the values inside /etc/apache2/mods-available/mpm_prefork.conf file....
0
votes
4
answers
5k
views
Apache Server does not display the correct website
Hi I'm trying to learn Apache2 with a VPS. So far it's ok, but I can't find the reason for one problem that I face.
I've a website setup in my /var/www/example.com folder. I created a config file for ...
0
votes
1
answer
1k
views
Use multiple PHP-FPM versions using FastCGI on same Debian/Apache server
I would like to use multiple PHP-FPM versions using FastCGI on same Debian/Apache server.
Using:
Debian v9.12,
Apache v2.4.25,
php5.6-fpm,
php7.4-fpm,
libapache2-mod-fcgid v1:2.3.9-1+b1,
libapache2-...
1
vote
0
answers
119
views
2 Apache instances running. Can both access mariaDB?
I have 2 Apache2 instances running on my server ( Debian.)
One called Apache2 (ports 80,443,4443)
One called apache2-suiteCRM (port 8443)
The second instance is created to install suiteCRM and the ...
1
vote
0
answers
194
views
Use HTTP/2 together with PHP SQLSRV extensions?
I have a web site (Apache/2.4.46, HTTPS) using PHP7.3, MariaDb 10.4, MSSQL for Linux (mcr.microsoft.com/mssql/server:2019-latest), running on a Debian 10 server.
My setup works perfectly using HTTP/1....
0
votes
2
answers
540
views
Apache crash if I try to use ProxyPass on localhost to expose different services as subdomain
I have the following directory structure for multiple websites and services
/var/www/html/site1
/var/www/html/site2
/var/www/html/site3
/var/www/html/serv1
/var/www/html/serv2
site1 folder hosts a ...
3
votes
1
answer
292
views
Apache shows general root index rather than DocumentRoot index configured with Virtual Host in Debian
I have multiple websites supposed to run each with its own domain (e.g. site1.com, differentsite2.com, othersite3.com etc.).
The operative directories of each website are dedicated subfolder in /var/...
2
votes
0
answers
354
views
Nextcloud internal server error after server upgrade
I upgraded my server today from Debian 9 to Debian 10 and installed PHP 7.3 with all modules needed for NC but when I try to open the website I get "internal server error. More details can be ...
1
vote
1
answer
490
views
SSL not working Apache, mod already enabled ports already open
I have an issue in production server debian 10 in google cloud platform.
SSL not working Apache but these conditions are already fulfilled:
mod ssl already enabled
firewall GCP already opened.
...
3
votes
1
answer
12k
views
Apache hangs on "child process X still did not exit, sending a SIGKILL"
I did update on server to php7.3-fpm to get http2 working. Setup everything needed, h2 works great, all websites is up. But like every 5 minutes server get stuck on these errors until I restart apache....
0
votes
1
answer
816
views
Allow reverse proxy access only from the host server
I have two servers A) frontend server (ip 11.22.33.44), B) backend server (ip 22.33.44.55).
Both use Debian Linux and Apache server.
A) frontend server uses reverse proxy to show content of B) backend ...
0
votes
0
answers
923
views
PHP settings in apache2 config file completely ignored
On a fresh Debian 9 install, I installed PHP 7.2 and Apache2.
php has been installed from the Sury repo with these extensions:
php7.2-mysql php7.2-dom php7.2-simplexml php7.2-ssh2 php7.2-xml php7.2-...
0
votes
0
answers
111
views
Strange behavior of Apache with a ssl certificate while DNS are propagating
Is there anywhere a cache for certificates for apache 2.4 under Debian 9 ?
While DNS are propagating on an hosting, I sometimes get wrong certificate (the one of the first hosting of the server in ...
0
votes
0
answers
472
views
Apache Reverse Proxy and ShinyProxy
I wrote a shiny web application and deploy it on a server using ShinyProxy. Accessing the app directly via the IP address and port 8080 works fine. However, I need to connect it to a URL. On the ...
0
votes
1
answer
334
views
Create a virtual host on apache2
I have a issue with creating a virtual host on apache2. My website is hosted on a debian 10 sever. I added the file domain.conf at /etc/apache2/sites-enabled. Inside the domain.conf file I simply ...
2
votes
0
answers
2k
views
Enable http2 on Debian 11 Bullseye and Apache 2.4.41
I'm testing Debian 11 Bullseye with Apache 2.4.41 and I'm trying to activate HTTP2
I did some things :
sudo a2enmod http2
It returns : Module http2 already enabled
Then I put this line on my SSL/...
1
vote
0
answers
105
views
How do I use another version of Php for an app served under a certain path with Apache?
I am on Debian Testing so Php 7.4 seems to be the current one. This is fine with me since most of my Apache served apps are fine however two of them are broken. One is Wallabag and the other one is ...
0
votes
2
answers
1k
views
Apache logs HTTP 408 error, client seems to lose PHP session
I'm struggling with a strange issue that "logs out" users and seems to happen about ten times a day.
The application is an old PHP project. Clients log in; a PHP session is established. Sometimes if ...
0
votes
1
answer
578
views
php 7.4 mysqli pointing to wrong path
I recently updated to php 7.4 from php 7.3 on Debian and it seems apache is pointing mysqli to older path. How do I figure out from where it's causing issue?
Error -
[Mon Apr 06 07:22:13.384517 ...
0
votes
1
answer
291
views
Apparent inconsistency in Apache SSLProtocol
I'm running a server with Debian 10 and Apache Version: 2.4.38-3+deb10u3. The behaviour of different settings for SSLProtocol is puzzling. SSL has been configured to be quite secure. This setting ...
0
votes
0
answers
999
views
Debian 10 with PHP 7.3.4-2 - Call to undefined function curl_init()
I am running a VPS with Debian 10, Apache 2.4.38, PHP 7.3.4-2, MariaDB 10.3.15 and curl 7.64.0.
On one of the hosted, older websites I am running a script that uses curl_init(); which fails with the ...
0
votes
1
answer
2k
views
multiple include files in apache virtualhost
I have a pile of domains and my customer wants www also available.
I made two text files.
One that starts with ServerAlias and the domain names
and another text file that starts with ServerAlias ...
0
votes
2
answers
1k
views
Experiencing a DDoS on one of my GCP instances. What can I do?
I have a single instance running on GCP which right now's suffering from a load-based DDoS. It's a Debian-based instance proxying the traffic internally to a Geneweb daemon running on the same machine....
0
votes
1
answer
617
views
a2ensite does it need to be used for ServerAlias
On Debian does a2ensite command need to be used after adding or deleting ServerAlias entries inside an Include file [I have alot of domains in there] inside a virtual host entry or can I just do ...
0
votes
0
answers
22
views
Best practice for <Include> file placement?
I'm migrating an apache configuration from a Red Hat machine to a Debian machine, and the source configuration uses directives in its site configurations. Debian clearly has opinions about how ...
-3
votes
1
answer
1k
views
How to install multiple PHP versions in Virtualmin 6, Debian 9 [closed]
By default Debian 9 comes with PHP 7, but I was interested in PHP 5 for older websites as well.
I tried following/adapting this guide (not virtualmin specific)
https://pehapkari.cz/blog/2017/03/27/...