Questions tagged [apache2]

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)

The Apache HTTP Server is a popular Open Source Web server. This tag should be used for general questions about Apache HTTPd.

Although there is large degree of commonality between the different versions in the 2.x branches, please consider using the Apache-2.2 or Apache-2.4 tags instead for more specific Apache HTTP Server related questions.

Documentation for all major versions is both comprehensive and has a high degree of accuracy.


1741 questions
0
votes
1 answer

Apache child processes are launched more than ServerLimit and threads are executed more than ThreadsPerChild

The following version of Apache is used. (MPM : event) httpd -V Server version: Apache/2.4.37 (Red Hat Enterprise Linux) Server built: Jun 15 2022 08:27:14 Server's Module Magic Number: xxxxxxxx:xx Server loaded: APR 1.6.3, APR-UTIL…
fsk5304
  • 101
0
votes
0 answers

DNS server bind9 + apache2 on Ubuntu Server VM + localhost problems connectivity

Hello guys :) i'm trying to resolve some problems with my DNS server + apache2 and local machine. I've got Ubuntu server on VirtualBox with NAT network adapter. I tried to create DNS server for my page praktykant.local On Ubuntu server VM can only…
0
votes
1 answer

Apache - ProxyPass serve port only for one server name

I have a react app that listening to localhost:3939 Then, I configured a Virtualhost like this to proxy pass the port 3939 on https://test.example.com: ServerName test.example.com [SSL] ProxyPass /…
0
votes
0 answers

Multiple users chrooted to single directory when using SFTP

Heyho, so, while experimenting with setting up my own webserver on a Raspberry Pi, I've come up with something that should be quite simple in my opinion, but seems to be quite hard (or I can't find the right explanation): On this server, I am…
0
votes
1 answer

Apache using up all the memory

My site (which as running fine until yesterday - CPU was at 2%, memory at 50%) keeps maxing out the resources - CPU and Memory at 100% and "load" and Disc IO very high. the site is a php (silverstripe) site running on Ubuntu linux with apache and…
Will
  • 131
  • 1
  • 6
0
votes
0 answers

apache2 prefork "server seems busy" warning, doesn't respond to changes in StartServers, MaxSpare, etc

Preface: This is not a "how do I set StartServers" question. I have a web server that has been running fine for years and last week we started using CloudFlare to help reduce probe and DDOS activity. Since then, I have been getting Apache Error Logs…
Glenn
  • 3
  • 4
0
votes
1 answer

Moving from Apache2 to NGINX configuration

I have been trying to get my website up after moving from apache2 to nginx on my AWS Ubuntu 20.04 server. I have translated the relevant files from apache2 over to my nginx configuration, however I can't seem to get secure https access through page.…
jabroni
  • 3
  • 2
0
votes
0 answers

apache mod_wsgi error, randomly: Unable to connect to WSGI daemon process

Recently, our server shut down out of nowhere, this what Apache logs show up: [wsgi:error] [pid 8837:tid 140646648096512] (2)No such file or directory: [client] mod_wsgi (pid=8837): Unable to connect to WSGI daemon process 'project' on…
0
votes
0 answers

Allow CORS Headers pass through in apache2 reverse proxy setup

I came down to ask here since I am troubleshooting this for days without any success. What I try to accomplish is to set up a reverse proxy to the nodejs/Express backend using apache2. Proxying the http and websocket connections work fine, however,…
randmin
  • 59
  • 8
0
votes
1 answer

Require ip in apache2 works for index.html but not

I am using apache 2.4.56 and my site is hosted on Google Cloud Compute. "Require ip ip-number" works for /var/www/html/index.html like mysite.com but it doesn't work for…
0
votes
1 answer

Change the script path in an Apache proxy handler

I'm developing my application with 2 containers: apache and php-fpm. Apache serves requests, and delegates PHP execution to the php-fpm container in its vhost: SetHandler "proxy:fcgi://myapp-php-fpm:9000" …
0
votes
0 answers

Reverse Proxy on different Server

Hi i’m searching for a way to reverse proxy a Website with Websocket with apache2 but the Website and the Reverse Proxy are running on different Isolated servers. I’ve tried the normal way to configure it but my setup is not working.
T0b1a5
  • 1
  • 3
0
votes
1 answer

Is there a way of rewriting wss to https Apache 2

Hi im currently trying to find a way to switch out the protocol of a url. Im having a server wich is running fine on its own but behind a apache reverse proxy its throwing the error connection to websocket failed. The problem is that the Websocket…
T0b1a5
  • 1
  • 3
0
votes
1 answer

Debian 11, Nagios4, and 403 forbidden

Having installed Debian's Nagios4 package I can't access it. Apache gives me this: AH01797: client denied by server configuration: /usr/share/nagios4/htdocs I've tried various things, such as changing ownership of the relevant directories to the…
knirirr
  • 119
  • 4
0
votes
1 answer

Ubuntu - Issue hosting (HTTPS only) a Net core app: "AH01276 - Cannot serve directory"

I'm trying to setup my application using HTTPs, I followed a guide HERE to do it properly but it's not working. My app runs perfectly in port 80 (http) and when I turn on auto redirect for 443 (https) it gives me a 403 forbiddend when I try to…
mfvjunior
  • 109
  • 2