Stack Exchange Network

Stack Exchange network consists of 174 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
11 views

PHP (7.1) issue with mail , openssl , certificate

In the php.ini I have: [openssl] openssl.cafile= /etc/ssl/cert/mydomaincabundle.crt this line allow email from PHP with SMTP to be sent from PHP es Wordpress or PHP application as i use mydomain.ext ...
1
vote
0answers
12 views

Apache If statement not working

I have a about 25000 urls from my old site that have abc in the url. I want to use 3 DBM files in my apache conf. The goal is if the URL does not contain abc ie. http://example.com/1234.htm then I ...
0
votes
0answers
14 views

Apache SSL and non SSL sites VirtualHosts not working correctly

Server config: CentOS 7.4 mod_ssl installed Apache 2.4.6 site1.com and site2.de both point to the ip 1.2.3.4. site1.com is non-SSL-driven (temporarily for Let's Encrypt ACME-challenge - will be ...
0
votes
1answer
33 views

Multiple IPs to different domains Apache2

I have managed to do this before without any issues, now Im stuck. I have the following problem: I have two IPs connected to my Ubuntu VPS. 111.111.11.111 and 222.222.22.222. 111.111.11.111 is the "...
0
votes
0answers
14 views

Apache2 with HTTP/2 serves some content with h2, some with http/1.1

I have setup HTTP/2 with Apache 2.4.29. HTTP/2 is working as checked here https://tools.keycdn.com/http2-test. When I connect to my site via Chrome or Firefox only some content is using h2. ...
0
votes
0answers
15 views

Increase amount of PHP processes executed by Apache from the same client

We have an apache server setup with PHP 7.1 on it. It's sole job is to receive and process requests from another server that is sending XML files for processing. This server can send upwards of 20 ...
5
votes
1answer
1k views

Avoid oom-killer by limiting simultaneous users

I'm trying to avoid a situation where I'm running out of ram resulting in the server locking up (oom-killer). To achieve this I'm trying to update my Amazon Linux AMI instance to limit the number of ...
0
votes
1answer
29 views

multiple subdomains apache 2.4

I am not much of an admin (nor of an native english speaker, for that matter) and I am struggling with a simple task: add a subdomain on Apache 2.4. Here are my conf files: <VirtualHost *:80> ...
0
votes
1answer
16 views

Allow/block access to a specific path with apache 2.4 failing

I have a django website project deployed in an enviroment from AWS Beanstalk. I'm trying write configs to apache block access to a specific path (/admin). I avoid change wsgi.conf file, instead I ...
0
votes
1answer
23 views

DNS lookup failure for:

I installed my server with virtualmin, and I am using apache with php fpm. When I try to open my website I have this error : Proxy Error The proxy server received an invalid response from an ...
0
votes
0answers
19 views

WebSockets + Apache and Nginx in “reverse proxy mode” + SSL/secure

As I had tried to connect PHP WebSocket from socketme.io through HTTP, since it was successful and again after loading certificates and making HTTPS it didn't work. As my hosting server's ngnix is ...
1
vote
1answer
23 views

Apache2 - Only allow .pdf and index access in WebDAV

I've set up a WebDAV with apache2 in order to use it with Zotero. As we only want to upload and download pdfs over this webdav, I want to prevent the upload or download of any other files than pdf ...
0
votes
0answers
8 views

Apache2 php config with proxypass for nodejs

I have and apache2 config vhost like this below using https: DocumentRoot as u can see is in "/var/www/html/wp" , which contain php api. My nodejs api runs on http://localhost:9000/ which is proxied ...
0
votes
0answers
12 views

HAPROXY certificate for Virtual IP

I got 2 RHEL servers that functions as balancer and send the request using HAPROXY to two other servers which has a weblogic cluster. The RHEL servers are in DMZ that will be accessible through the ...
-1
votes
1answer
40 views

set apache as default server in ubuntu 16.04

first i installed apache on my local system, it working fine and then for some reason i installed nginx it also works fine, but now problem is each time when i start my system by default nginx is ...
0
votes
0answers
19 views

WebSlTE running slow in a decent server [closed]

Currently, I have a Ubuntu 16.04 Server, and many users is accessing my website, almost 500 connections simultaneos. By this reason, my website is lagging, the pageload is 5-15 seconds. I don't know ...
0
votes
0answers
10 views

OS level role/command based privileged escalation for use with automation via a front-end/back-end process with additional authentication [closed]

I want to develop a LAMP web app/solution and after a fair amount of searching I am starting to think it is not possible to do what I want. Not sure how to explain this succinctly so I apologize for ...
0
votes
1answer
24 views

Unit apache2.service has begun starting up

I upgraded from debian 7 to 8 (yeah - quite late) and so from apache2.4 to 2.4, before i go for debian 9 I need some help for this issue: when I start apache I get this: Nov 14 15:20:32 srv087 ...
-1
votes
0answers
24 views

Gitlab-CE Throwing 503 on CentOS 7

I've managed to setup Gitlab-CE(11.4.5) on my VPS running CentOS 7(3.10.0). I've made it to communicate over SSL(via Let's Encrypt) and I've used Apache in the process rather than Nginx since I've ...
0
votes
1answer
26 views

How to forward a domain to a Wamp Apache server [duplicate]

I have not been able to find a guide that resolves my issues with forwarding my domain to my wamp apache server. I've portforwarded correctly and I've made my webpage accessible through my ipv6. So ...
0
votes
2answers
101 views
+50

Apache (2.4) only serves 1st virtual host found on elastic beanstalk server

I have an Elastic Beanstalk server which I am using for my employer's main site, example.com and they want me to host one of their ancillary sites on it: go.example.com. So I just created a new ...
0
votes
0answers
21 views

Authenticating Apache 2.4 on Windows against ADFS 3.0 for Single Sign-On

I have a big problem here. I have to protect a page on an Apache server via ADFS 3.0 SSO authentication. On CentOS linux i did it easily using mod_auth_mellon , which worked like a charm. The ...
-3
votes
0answers
33 views

see the traces of the certificate ssl [closed]

how can I visualize the traces of a certificate if it is arriving at the apache ? I have tried with netstat -ntc | grep 443 and tail -f / var / log / httpd / access_log but I do not see ...
0
votes
0answers
5 views

Cache reverse-proxy results from all the substitutions

The reverse-proxy receives the client's HTTP request, then: Retrieves content from back-end server Inflates content Performs many substitutions across various files (JS, HTML, CSS, etc) Deflates ...
0
votes
0answers
11 views

Favour anon user than authenticated user when no basic auth in apache2

My need: Be able to authenticate with user in htpasswd file Be able to be an anonymous user Be anonymous user if don't provide basic auth I also need to know in backend what is the username With ...
0
votes
1answer
48 views

SSL Certificate, Redirect, No-www done right (apache)?

MY GOAL I would like to make a website accessible only via SSL (encrypted) and with many domains redirecting to only one master domain (no duplicate content) and all www variants should be no-www. ...
0
votes
0answers
9 views

Apache proxy pass (Raspberry) behind Nginx proxypass (VPS)

I have a Raspberry No. 1 running Apache, listenting at https://home.example.com/userA This apache provides simple html files and adds virtual locations as proxypasses to my IPCameras, some of which ...
0
votes
0answers
9 views

apache load balancer how to set log level in all nodes in a load balancer that uses jetty

we have apache load balancer having three nodes. when we set jetty server log level using a endpoint, we have an endpoint that dynamically sets log level of the application without the need restart ...
2
votes
1answer
56 views

Apache .htaccess RewriteRule and ErrorDocument

I have a .htaccess file : RewriteEngine On DirectorySlash Off RewriteCond %{REQUEST_URI} !(\.css|\.js|\.png|\.jpg|\.mp4|\.ttf|\.eot|\.woff)$ RewriteRule ^(.*)$ ?page=$1 [NC,L,QSA] ErrorDocument ...
0
votes
0answers
48 views

apache2 reverse proxy - port redirection fails

I have a debian box as a firewall/reverse proxy and a redhat webserver behind it. The firewall accepts requests on port 80 and is supposed to redirect them to the webserver. The webserver is listening ...
0
votes
0answers
23 views

Apache 2.4 install fails on Debian 8.11 i386 with missing module authn_core

I am a novice trying to install apache 2.4 on an old legacy Debian 8.11 i386 server and getting the following error during install: sudo apt-get install apache2 apache2-utils Reading package lists... ...
0
votes
0answers
16 views

How to use maxmind geoiplite2 mmdb file on ubuntu server

Currently, I am using Maxmind geolitecity for converting IP to location. Maxmind recently announced they are no longer supporting geolite (.dat format) How to install Geolite2city mmdb on ubuntu ...
3
votes
1answer
79 views

Two similar sites, once Apache instance, url rewrite works on one but not the other

My rewrite rules are designed to hide my directory structure and to make URLs easier to read. The gcems site works as expected while the vigotwpfd site will not load the files beyond the first page as ...
0
votes
1answer
19 views

Apache 2.4 allow access to directory that is password protected

I'm really struggling with the new way of doing this, 2.2 was easy, this what I have: <Directory /home/website/public_html/> Options -Indexes AllowOverride All AuthType Basic ...
0
votes
0answers
23 views

How to use `AddType` for PHP in Apache?

My server is centos 7.4, with Apache 2.4.6,PHP 5.4. I already have SetHandler for PHP as below: <FilesMatch "\.ph(p[2-6]?|tml)$"> SetHandler application/x-httpd-php </FilesMatch> ...
1
vote
0answers
20 views

Can I use APACHE mod_deflate with HTTPS TLS?

My server is centos 7.4,with Apache 2.4.6,PHP 5.4,Mysql 5.5. I plan to use mod_deflate to compress websites file as below: <IfModule mod_deflate.c> DeflateCompressionLevel 3 ...
0
votes
0answers
22 views

How to access Apache locally with customize domain name [duplicate]

I configure my home web hosting with Apache and it work well (Router forward ready) I can access my web from internet by web.mydomain.com from other public IP but I cannot access web.mydomain.com ...
3
votes
1answer
88 views

Apache PHP-FPM weird responses with Proxy enablereuse=on

When enabling <Proxy ... enablereuse=on max=10> I start receiving strange responses. When refreshing the current page, the main request loads different responses; like a blank page, responses ...
0
votes
0answers
22 views

access apache cgi-bin from remote host

I created a Virtual Host (qgis.demo) listening on port 80 on my server virtual machine (an amazon ec2 instance). It serves a CGI-BIN app (qgis_mapserv.fcgi). I modified my /etc/hosts to include 127.0....
1
vote
0answers
28 views

Dynamic Vhost Config - Apache v2.4 [duplicate]

This configuration was working on Apache version 2.3 however, when I updated to Apache/2.4.34 (Unix) PHP/7.2.11 its not longer working. Only the first and second directives are, but the third isn't, ...
1
vote
1answer
94 views

make_sock: could not bind to address (IPv6) after network driver update

For some reason on CAT 6E cable I'm capped at 100 megabits (the ISP has a downstream of 400). I updated my network driver. Immediately afterwards when launching Apache I receive the following error (...
0
votes
0answers
17 views

Apache - Proxy with amqp protocol

I'm trying to configure the proxy server with Apache Httpd 2.4 with Active MQ protocol amqp, but it seems this is impossible since apache doesn't support it with any mod_proxy modules. <...
0
votes
0answers
15 views

HTTP CONNECT request through an Apache reverse-proxy – Bad Request

I am having difficulty understanding how to configure Apache (2.4.35) and/or the application to make my reverse-proxy accept a HTTP CONNECT request. Without the reverse-proxy... A Java application ...
0
votes
0answers
12 views

How can I view vhost config for apache using Centos httpd24-httpd?

I have seen tons of examples on how to view your current vhost configuration but none of them are for httpd24-httpd I have tried httpd -DDUMP_CONFIG -k start apachectl -S apache2ctl -S httpd24-...
1
vote
1answer
19 views

Does Apache proxy_mod support repeated directives?

For example is: <Proxy balancer://blah> BalancerMember ajp://127.0.0.1:8080 Proxyset lbmethod=bytraffic Proxyset stickysession=JSESSIONID Proxyset timeout=5 </Proxy> interpreted in ...
0
votes
0answers
51 views

Debian 9 / Apache 2.4 - Restricting access to some files in a Virtual Host subdomain unless the originating IP is on the local network

I've a problem that has been costing me hours of time, it's probably something simple but my knowledge of Apache is a bit limited it would appear. I'm starting to feel like I'm down a rabbit hole so ...
0
votes
0answers
13 views

Limit php to a site's directory in apache

My server has multiple vhosts. I would like to isolate php running in a vhost folder to that vhost's files. Each host has a directory in /www matching its domain name. So if a php script is invoked ...
0
votes
1answer
24 views

How to redirect all Apache 2.4 websites to maintenance page while allowing access to specified IP addresses

I have two mirrored Apache 2.4 servers behind a load balancer with about 50 websites hosted on each. I need to close them for maintenance while allowing access from several specified IP addresses. ...
0
votes
1answer
30 views

Routing requests from internal network to local Apache – a dnsmasq Job?

Hey folks from serverfault, new to this network site. I have a question regarding the configuration of a new server. Ubuntu 16.04 and Apache 2.4 will be running on the server. We would like to allow ...
0
votes
1answer
26 views

Apache24u / phpinfo: still showing old version

Ive upgraded the server from default apache 2.4.6 to the apache24u (https://centos.pkgs.org/7/ius-x86_64/httpd24u-2.4.34-1.ius.centos7.x86_64.rpm.html). when I check it via shell, I get the correct ...