All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
43 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: &...
Sander Böhm's user avatar
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
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
0 votes
0 answers
135 views

php.ini file setting being ignored - tring to change upload_max_filesize

Running php8.2 with fpm - I have rebooted server, I have restarted both php8.2-fpm and apache2. I am 100% certain I've changed the correct php.ini file - infact I have changed all 3, apache2, cli and ...
Michael T's user avatar
  • 121
1 vote
1 answer
313 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 ...
Madjid's user avatar
  • 11
0 votes
0 answers
45 views

How to investigate apache server becoming unresponsive

I'm running a Debian 11 Server with an Apache 2.4.56 server that only serves to redirect URLs to a memos docker container and the element frontend of my matrix instancee. Unfortunately, the server ...
Shade's user avatar
  • 1
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 ...
Spliid's user avatar
  • 101
0 votes
1 answer
178 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 ...
Rahul Biswas's user avatar
0 votes
0 answers
2k 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, ...
Chris Woelkers's user avatar
-1 votes
1 answer
155 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 ...
HDR's user avatar
  • 1
0 votes
0 answers
185 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 (...
EnderSlayer7692's user avatar
1 vote
0 answers
787 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 ...
Martin's user avatar
  • 11
0 votes
0 answers
222 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 ...
Kaemmelot's user avatar
0 votes
0 answers
108 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 ...
Chris Woelkers's user avatar
0 votes
1 answer
101 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 ...
kathyl's user avatar
  • 1
0 votes
4 answers
167 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 ...
Chiwda's user avatar
  • 125
2 votes
1 answer
660 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 ...
9hax's user avatar
  • 21
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 ...
mohamad zbib's user avatar
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" ...
Hayden Thring's user avatar
0 votes
1 answer
518 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 ...
Dennisrec's user avatar
  • 121
0 votes
1 answer
9k 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 ...
kghbln's user avatar
  • 421
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 ...
Kline's user avatar
  • 247
1 vote
1 answer
160 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) ...
jpneey's user avatar
  • 113
0 votes
1 answer
945 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....
know_a_guy_hu_knows_anothr_guy's user avatar
0 votes
4 answers
4k 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 ...
Hard Code Programmer's user avatar
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-...
klor's user avatar
  • 344
1 vote
0 answers
109 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 ...
Stephane's user avatar
1 vote
0 answers
169 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....
christerk's user avatar
0 votes
2 answers
464 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 ...
AndreaF's user avatar
  • 215
3 votes
1 answer
275 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/...
AndreaF's user avatar
  • 215
2 votes
0 answers
337 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 ...
webhead's user avatar
  • 21
1 vote
1 answer
448 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. ...
Abraham Putra Prakasa's user avatar
3 votes
1 answer
11k 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....
Michal Černý's user avatar
0 votes
1 answer
670 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 ...
klor's user avatar
  • 344
0 votes
0 answers
748 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-...
Obprog's user avatar
  • 1
0 votes
0 answers
66 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 ...
Fabien Auréjac's user avatar
0 votes
0 answers
430 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 ...
user's user avatar
  • 103
0 votes
1 answer
271 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 ...
user587006's user avatar
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/...
GrandGTO's user avatar
1 vote
0 answers
96 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 ...
yarun can's user avatar
  • 111
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 ...
Daniel's user avatar
  • 3,117
0 votes
1 answer
526 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 ...
Alex's user avatar
  • 1
0 votes
1 answer
288 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 ...
mbrampton's user avatar
  • 331
0 votes
0 answers
963 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 ...
user avatar
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 ...
Lid's user avatar
  • 15
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....
individual8's user avatar
0 votes
1 answer
531 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 ...
Lid's user avatar
  • 15
0 votes
0 answers
21 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 ...
John Clements's user avatar
-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/...
Hayden Thring's user avatar
1 vote
1 answer
2k views

What CN name should I use when I want to setup SSL on port other then default 443?

I have server that runs both my public web server, and local one. Local server is on port 333, and I used invalid certificate for it for a long time, but I want it to be properly configured, so I made ...
Daniel's user avatar
  • 11