Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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)

0
votes
0answers
33 views

Loop Through Apache HTTPD Environment Variables and Set Header

I'm currently requesting client certificates from people that hit my httpd servers set up as reverse proxies. One of the things I pull from the certificate is their email: RequestHeader set ...
0
votes
1answer
72 views

create letsencrypt exception for apache reverse proxy along with ip restrictions

Under normal circumstances, setting up an apache reverse proxy with a letsencrypt exception for /.well-known is easily done with ProxyPass /.well-known ! It seems to become much more difficult (...
0
votes
1answer
41 views

Kerberos + LDAP in Apache httpd - ObjectSID

I am doing LDAP authorization along with Kerberos authentication in httpd 2.4. I am retrieving objectSID from ldap and found that to be not in readable format. Referring this and this, have used a ...
0
votes
0answers
18 views

Directorylisting are only disabled if i remove the index.php file from wordpress

I disabled directory listing for my apache setup by removing the Indexes from my /var/www/html directory in httpd.conf, and that works.. as long as i also remove the index.php file from these ...
0
votes
1answer
32 views

403 Forbidden on JS/CSS files after switching Apache to use Event MPM and php-fpm

(I see there are several existing questions about 403 errors and one or two of the rest of the parts of my configuration, but nothing that seems to match up to my exact situation that I've seen so far,...
0
votes
0answers
23 views

Django deployment ISPConfig - 403 Forbidden

there. Having some trouble with deploying a django project using the ISPConfig control panel. I'm able to copy the files and everything over okay, and i can reach the django site with the "domain.tld:...
1
vote
0answers
34 views

Apache 2.4.29: cgi scripts load as text, even though cgi is enabled and .conf set up

I spent a few days searching for answers on serverfault and elsewhere, and tried them all to no avail. I'm trying to serve dynamic content using perl cgi scripts (Apache 2.4.29 on Ubuntu 18.04.2). The ...
1
vote
2answers
82 views

MySQL and Apache are running out of memory

Can you help me how can I figure which SQL query makes my MySQL running out of memory? So, running dmesg command in console, I get following result: [root@dmzemf httpd]# dmesg -T | grep 'Out of ...
0
votes
0answers
13 views

How to configure Apache to require basic auth AND respect directory and file restrictions?

Consider this configuration excerpt from an Apache 2.4.6 (CentOS) setup: <FilesMatch "^\.(.*)$"> Require all denied </FilesMatch> <VirtualHost *:443> ServerName example.com ...
0
votes
0answers
16 views

Apache2 - Reverse Proxy, failed login to Ajenti

I try to set up a reverse proxy following the guides online. I try to forward the Ajenti and that works. But i can't log in. Ajenti tells me i use the wrong user and/or password. If i try to connect ...
0
votes
1answer
46 views

Kerberos authentication not working with Apache and PHP-FPM

I have configured kerberos authentication in apache with a php-fpm drupal backend. Checking the apache logs it looks fine at first glance but somehow it seems that the authenticated user gets lost ...
0
votes
2answers
20 views

Limit Apache's child process count in Dockerized environment

We have a Dockerized environment for our clients so that each customer gets his own container to host his website. Each container usually runs on the php:7 image so we're speaking about Apache 2.4 ...
0
votes
1answer
42 views

Enabling xml-rpc on Digital Ocean marketplace Wordpress app

I've installed the Wordpress app from the Digital Ocean marketplace and want to enable xml-rpc to use with the Wordpress app (through JetPack), which requires the xml-rpc endpoint. But I'm having ...
3
votes
0answers
58 views

Are there any known common causes of “Cannot kill process: Success!” in error.log?

Operating system: CentOS Linux release 7.6.1810 (Core) Error log: /var/log/httpd/error.log Apache version: Apache/2.4.6 In attempting to debug a PHP cron task, I am seeing some segfaults in error....
1
vote
0answers
44 views

Issue Apache behind Nginx

I have nginx proxying to apache as a backend in order for nginx to handle static assets. Unfortunately when I attempt to visit main domain it just displays page not found. I get 404 error for these ...
0
votes
1answer
39 views

Graceful restart of Apache under Windows will shutdown the service

I've a apache2 service (called wampstackApache-1) When I do a graceful restart of the service with C:/Bitnami/wampstack-5.6.31-0/apache2/bin/httpd.exe -k restart -n wampstackApache-1 the service is ...
1
vote
1answer
62 views

Apache Tomcat communication problems. Performance is exteme slow

Apache Version 2.4.34 (Win64) Apache Tomcat 6.0.44 Windows Server 2016 Standard Version 1607 After a certain period (1-2 hours). Application Performance becomes extremely poor and some time leads to ...
2
votes
1answer
197 views

Sudden increase in CPU use by Apache, without increase in requests, disk i/o, php/database connections, etc

This morning we saw a step increase in CPU utilization and load on our web server, call it host1. Overall CPU usage went from approximately 100% to 500% (on 16 cores, 32 hyperthreads), and load from &...
2
votes
1answer
69 views

Same server, different Apache virtual hosts, redirection does not work for one of them

On my server there are multiple virtual hosts configured. Two of them should have the following behaviour, so that in the end, it should always be redirected to https://www..... for example, I put ...
0
votes
1answer
30 views

PHP Script and correct permissions for user to change everything

The network configuration doesn't allow access to FTP from outside the building. There's one user that need to upload and change files from a specific folder so I've installed TinyFileManager https://...
0
votes
1answer
22 views

Apache mod_deflate MIME type settings

CPanel gives me options about what MIME content types to compress with Apache's mod_deflate, as shown below. Are there disadvantages to having a long list of MIME types (eg. slower server response)? ...
0
votes
1answer
17 views

Logwatch does not report on httpd (apache2)

Problem: I'm using Debian GNU/Linux 8 and my Logwatch does not have a "Begin httpd" section at all for my Apache pools. /usr/share/logwatch/default.conf/logfiles/http.conf is set for some custom ...
0
votes
1answer
38 views

How do I redirect a request from an Apache Server to a local thin-Webserver?

I am experimenting with dashing-icinga at the moment and got everything up and running locally right now, but I cannot open the dashboard from another computer on the network via a reverse proxy on my ...
0
votes
1answer
121 views

How to Remove php-fpm for mod-php

We have a site that's performing very slowly. I have a suspicion that it's php-fpm configs, but rather than play with it if it's not the issue, I want to do performance tests first. So I cloned one ...
1
vote
0answers
17 views

Apache appears to be ignoring my .htaccess file, despite mod_rewrite being enabled and AllowOveride all

System specifications: Amazon Linux AMI release 2017.03 Apache/2.4.33 (Amazon) PHP 5.6.36 DNS is handled by Cloudflare Here are my VirtualHosts: <VirtualHost *:80> DocumentRoot "/var/www/...
0
votes
0answers
25 views

apache 2.4 exclude url

I need to configure apache in reverse proxy to have all url protected with password except url start with /app/test#/toto/xxxxx. I have a problem with the # in the url, if I test with other url ...
3
votes
1answer
247 views

How does one change the certificate and key for https

We have a server whose original PKI certificate was issued by a discontinued root CA. We have a replacement certificate issued from a different root authority chain. This site was set up some time ...
0
votes
0answers
32 views

What mutex is apache trying to lock when the error “Couldn't grab mutex” is logged?

Apache 2.4 suddently dies in a fresh ubuntu 18.04. Certbot installed. Certificates authorized manually and installed manually (certbot did not touch my files). The logs are these: /var/log/apache2# ...
0
votes
2answers
105 views

Apache / MariaDB Questions

this is my first post here, and I have searched for a good answer to this question with no luck so far. I am in the process of upgrading our web server (LAMP stack on CentOS 6) to new hardware and ...
0
votes
2answers
137 views

Browser not rendering css and JS

I'm using: CentOS 7 Apache 2.4 php56-php-fpm php72-php-fpm on my dev server. I managed to get it so I can specify a handler and it will put that vhost on the correct PHP version, however CSS and JS ...
0
votes
1answer
54 views

Why so much maxrequestworkers suggestion by apachebuddy?

I am using a Ubuntu 18.04 server for hosting a big WordPress site, this site gets max 2500 visitor per day. My issue is my site going down every few minutes and showing 504 Gateway Time-out error. I ...
0
votes
0answers
17 views

mod_proxy: Cancel client upload upon backend failure or response

We have a CentOS 7 server with Apache and NodeJS. We're using Apache to reverse proxy some routes to NodeJS. We have a route (proxied to a NodeJS app) that allows a user to upload files which are ...
0
votes
3answers
56 views

Apache SSL “catch all” for maintenance

We're going to have to temporarily shutdown our servers, as they need to be physically moved and put onto a better UPS. I don't want to just have "can't connect" errors come up for our users, and I ...
0
votes
0answers
32 views

Add custom variables to Apache access log from PHP-FPM

In mod_php you can use the apache_note() function to log variables in the Apache Access Log: <?php apache_note('SCRIPT_TIME', '1234'); ?> With the Apache config: LogFormat "%h %l %u %t [%D/%{...
0
votes
0answers
23 views

Apache refuses connection from other computers

It's been two days that I try everything I think to solve my problem, but there I really do not see where it comes from. On a Centos 7 server I configured Apache to listen on ports 80 and 5555. It ...
0
votes
1answer
53 views

strange access.log related to acpache proxy

It might be simple but i can't understand the meaning of this line 171.13.14.46 - - [06/Apr/2019:12:24:44 +0000] "CONNECT 133.130.126.119:43 HTTP/1.1" 302 406 "-" "RPS/HTTP PROXY" is it something ...
0
votes
0answers
31 views

apache 2.4 virtual hosts get list of domains from file

I have about 3000 plus domains and want them to point to the same folder. Do I have to repeat this entry 3000 times <VirtualHost domain.com:80> DocumentRoot /var/www/html ServerAlias www.domain....
0
votes
0answers
38 views

Disable PHP stack traces in Apache logs?

I've run across an in-house PHP application which occasionally crashes during user authentication and dumps a stacktrace into /var/log/apache2/. Problem is it logs the username and pass in cleartext. ...
0
votes
2answers
35 views

PHP7 can't find executable even though PHP is working

I installed php7.1 using the iuscommunity repo. It works fine and I can run php files via apache normally e.g. http://example.com/test.php, however I cannot find the executable, if I run: php -v -...
0
votes
0answers
19 views

Apache ssl connection in ruby on rails (SLES)

Now (Rails version: 3.2.13, Ruby version: 2.1.9p490) I have a sles machine and I've got the following files to make it from http (which works) to https (does not work) connection by hand: - cacert....
1
vote
2answers
28 views

apache mod_rewrite / mod_proxy adds port 443 to proxy url on https to http

We are using mod_rewrite with mod_proxy to proxy requests by crawlers and bots to prerender.io. The prerender service does not support https currently, but my clients site only does, so the proxy is ...
1
vote
1answer
106 views

Add Client Certificate when acting as a reverse proxy

I basically have the exact same problem as Add Client certificate when acting as reverse proxy (Apache/NGINX) , but in my case there is no nginx that can help me out. I want a certain location inside ...
0
votes
0answers
42 views

apache basic auth slowing performance

I've got a web application running on CentOS 7.6, apache 2.4.6. The website is experiencing significant lag in loading pages, up to 4 or 8 seconds. This is before my php scripts are even called to run....
0
votes
2answers
19 views

403 Error when accessing website externally

I have been tasked with allowing a certain IP access to one of our dev wordpress site which was initially setup for internal access only. I have already setup the port forwarding however when ...
0
votes
0answers
27 views

No 'Access-Control-Allow-Origin' header is present on the requested resource - CORS issue

I get this error when using forms, like likebuttons, sending comments or opening a dialogue window. I tried to put the CORS header into my apache2 config, active sites and htaccess file. Nothing ...
1
vote
2answers
30 views

Apache ReverseProxy, SSL on Proxy, noSSL on backend-server, page manipulation

I use an Apache2 as proxy for several backend-server. The proxy holds the Let´s-Encrypt-SSL-Certificates for all servers, http-traffic is redirected to https and then proxyed to the http-backend-...
-1
votes
3answers
92 views

Server Permissions allowed hacker to execute scripts [closed]

I got hacked yesterday, and for some reason i think this thing I've been doing on my servers over and over might have some disadvantages, Might this question be deprecated but i need simple answer as ...
1
vote
2answers
155 views

How to patch Apache 2.4.18 on Ubuntu 16.04 LTS?

I am running Apache 2.4.18 on an 16.04 server. Is this version patched through Ubuntu apt-get upgrade? I was ready about some security issues, but the upgrade command will not upgrade Apache. rex:~$ ...
0
votes
0answers
20 views

Why does cache usage change abruptly on Apache PHP-FPM server

I have a server that is dedicated to running a web site based on Joomla. It is being monitored using munin. The slab cache and the cache change abruptly. There are no notable changes in the Apache ...
0
votes
0answers
38 views

First time setting up PHP-FPM User Pool… is this config a security risk?

After some fooling around with PHP-FPM user pools, I got a configuration that works... but is right? I'm self hosting a PrivateBin. Obviously, I'm trying to get this install as secure as possible but ...