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
2 answers

Apache2 SSL only works when virtualhost is removed?

I'm making a website hosted at sparrowthenerd.space, and I'm trying to have it use multiple subdomains so I can run NextCloud, OctoPrint, and a general webpage all from the same IP address. As I understand, this can be accomplished with VirtualHosts…
0
votes
1 answer

Did something stupid that interrupting Ethernet access for "some ports"

I have just installed Ubuntu Server 20.04 on my server, but I executed an automated script without carefully watching, and it resulted in a really weird scenario. I also have multiple webservers enabled on that server, but on alternative ports.…
0
votes
0 answers

Why apache2 mod_cache_disk cant store files in ramdisk?

I use Apache2 mod_cache_disk with symlink to my ramdisk: /tmp/ramdisk/mod_cache_disk but I cant get it to work :( It only works when path leads to real directory. How can I fix this problem ?
Macsurf
  • 41
  • 5
0
votes
0 answers

NodeJs app working when started using npm start, but not with PM2

Very new to server stuff, sorry if this may be a noob question. Problem I am trying to run React and Node/express on a server. React does work and when I start my node app via npm start the server actually works too, meaning: Opening the website on…
Tommy
  • 101
  • 1
  • 2
0
votes
1 answer

Why do we need Apache Access Control when we have ownership, permission and firewall

Why do we need Apache Access Control like Require user Not require user Require group Not require group Require ip Not require ip Require host Not require…
Ahmad Ismail
  • 103
  • 3
0
votes
1 answer

Block `//xmlrpc.php`

I'm getting tens of thousands of (quite probably malicious) hits on Apache which are bringing the server down. All hits look like this on the Apache log: [30/Jan/2022:21:57:41 +0000] "POST //xmlrpc.php HTTP/1.1" 200 630 "-" "Mozilla/5.0 (Windows NT…
0
votes
1 answer

Apache tag for couple of options

I want to set couple of Location tags in my Apache config. For instance: /image, /file, /audio and to pass it to localhost:port/path. Right now I'm using this for /image: RewriteEngine on Options +MultiViews…
0
votes
0 answers

GCP VM Instance: Server Timed Out Error - Intermittently

cloud web security scanner1. Setup a WordPress site on localhost 2. Setup GCP Fresh Account for it 3. Created a New WordPress CE Instance [Login details, etc] 4. Migrated local site to GCP successfully [config cloud dns and update remote dns…
GXS
  • 1
  • 1
0
votes
1 answer

Apache server is very slow for high traffic

I am using Apache 2 on AWS ec2 instance. I have application load balancer with 2 instances/servers attached to it. Each instance type is m5.8XLarge. My application is developed in Laravel, I am using RDS. I am having 300,000 visitors per day and…
0
votes
0 answers

.xyz domain not recognized by apache2 as valid hostname

When I try to add a virtual host of my new domain name that ends with .xyz, apache tells me that it can't resolve the hostname : [Wed Jan 26 21:31:53.994125 2022] [core:error] [pid 25525] (EAI 5)No address associated with hostname: AH00547: Could…
0
votes
1 answer

example.com to https://www.example.com | Apache

So I want to redirect example.com to https://www.example.com. I already have ssl with certbot but I want to change my redirect config in /etc/apache2/sites-available/example.conf. Certbot already gives you a redirect from example.com to…
0
votes
1 answer

MySQL memory usage crashing server

I just want to preface this with the fact I am new to server admin work like this, but am very interested and eager to learn. I'm hosting a small WordPress site on Digital Ocean, the site is relatively new and has little to no traffic. The droplet…
0
votes
0 answers

Cacti - Unable to find certain search query results (Search Returned no Rows.)

Posting question here since no response on cacti forums. We are using older version of cacti Version 0.8.8b for graphing and and monitoring our network. Most of features and graphs are working fine despite the old version. But recently we got an…
0
votes
1 answer

How to replace/update Apache Log4j 1.2.x with 2.17?

My vulnerability scanner recently flagged an unsupported installation of Apache Log4j in a version of MS SQL we just recently deployed (SQL 2019). It causes two high-priority findings that I must get resolved. It seems to be, specifically, the…
The ITea Guy
  • 321
  • 1
  • 6
  • 16
0
votes
0 answers

High Disk IO with Network and CPU spikes

I have a Linode server that has been under load for a few hours. The configuration is 2 CPU Cores, 4GB memory, 80GB SSD storage mounted as 1 partition, 500MB swap. There's a second hard drive of 30GB which is also SSD. Software is Ubuntu 18.04,…
Whip
  • 250
  • 1
  • 2
  • 10