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)

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Apache Froward Proxy Connection Timeout

i dont know what i broke in my setup but all of a sudden my apache forward proxy stopped working out of no where, even though i reverted back to the old configuration. here it is: ...
0
votes
0answers
10 views

Apache Proxy Radius Auth Failed To Start

So i have apache2 installed and running as a proxy, now i need to add Radius auth to allow only our own users to access our servers through the proxy, this is the setup i have for apache radius auth: ...
0
votes
0answers
25 views

Apache on CentOS 7 - works after a restart, but overnight stops responding

I have a CentOS 7 machine setup as a development server. It's a virtual machine on VirtualBox, but I don't think this is relevant as I have 5 other similar installations that are not having this issue....
0
votes
0answers
6 views

Proxy a domain from one server to another and retain domain name

I have a single external address that points to a server that is serving multiple domains using virtual hosts. I would like to serve one of the virtual hosts on a new physical machine and am trying to ...
0
votes
1answer
15 views

Apache 2.4 proxy with single page static site

I have running Jira on my server with proxy like so: <VirtualHost *:80> ServerName server.name.com ProxyRequests Off ProxyVia Off <Proxy *> Require all granted ...
0
votes
0answers
10 views

Apache to use certificate from IIS Express [on hold]

I would like to have both IIS Express and Apache on my PC working in the same time on localhost domain. Debugging in VS is tight to localhost domain. Of course different ports. I think the best way ...
0
votes
1answer
28 views

Redirects from http to https don't work if there's a slash directory for Joomla [duplicate]

Note: I cannot be root on example.com, so editing httpd.conf isn't an option. I want anything from http://example.com to redirect to be https and including the slash directory. This is an example of ...
0
votes
0answers
10 views

git smart http + apache mod_auth_openidc

I have a working git/gitweb apache server using "smart http" and basic authentication. I've switched the authentication to Azure AD via mod_auth_openidc - this works fine for gitweb, but git breaks on ...
0
votes
0answers
10 views

Apache configuration when behind a load balancer

I am having an issue with apache and at this point have no idea what it could be. The issue is because now we added a load balancer (dc1-prod:443) that sends the traffic to my apache (dc-node-100) on ...
0
votes
0answers
13 views

Apache Require ip and OpenVPN on the same server

I have Apache 2.4 and OpenVPN running on the same machine (Ubuntu 16.04 Server). I have a Virtual Host configuration and I am trying to restrict the access only for the clients connected to the ...
0
votes
1answer
40 views

Enable a single CGI script for Apache within the document root?

Is it possible to enable a single CGI script stored within the Apache 2.4 document root ? I was hoping something like the following might be possible : <VirtualHost *:80> DocumentRoot "...
0
votes
0answers
25 views

HTML5 slides [SCORM based CBT] not working in Chrome but works in FireFox / IE / Edge

LMS [VALAMIS] HTML5 based CBT's designed in Captivate (10) runs perfectly in FireFox / IE / Edge but when comes to Chrome it plays just portion of first slide [like 9-10 seconds] and then halts. ...
0
votes
0answers
38 views

apache cache forward proxy not working

I'm using apache-2.4.41 on gentoo and I can't get working caching of proxy request I started with simple config from apache cache howto and extended it from several other howto or Q&A, like this ...
0
votes
0answers
20 views

403 Forbidden with apache and passenger

I am getting sporadic 403 responses from a server running Passenger within Apache. The problem starts on seemingly random occasions, and ends randomly as well. From the log, it seems that Apache is ...
0
votes
0answers
99 views

Apache Redirect Permanent - Query String

I have a website, where I want to redirect all requests with a query against my domain, to the home page. http://www.example.com/?ref=something_query_string http://www.example.com/?ref=...
0
votes
0answers
84 views

Apache SSLVerifyClient not working for some users

I inherited a system that is running Apache 2.4 that requires users to present client certificates. For some users, their client certificate is not being passed, and are thus denied access. ssl.conf ...
-1
votes
0answers
62 views

TTFB exactly 1min on my page [on hold]

It is very urgent if someone can help me please. Since today a few times my website https://resboss.com/londonsteakhouse-chelsea/virgin has TTFB exactly 1min. The same code with the same works very ...
0
votes
1answer
42 views

Centos Apache 2.4 exec suphp bin with chmod 0444

I am stuck on this since fews days, I am using suPHP & Apache 2.4 on Centos 6 on VPS (OVH) since few years, then since sunday, the binary chmod is always restored to 0444 so it cannot execute and ...
1
vote
1answer
17 views

Proxy Pass with Cookie Value in URL

I want to proxy pass a request to /foo/XXX/bar where XXX is the value of the mycookie cookie in the request. This is trivial in Nginx but I have found no way in Apache HTTPD: Nginx Solution ...
0
votes
1answer
29 views

OpenSSL error when compiling Apache HTTPD - undefined reference to `SSL_in_init'

We run Apache HTTPD as a production load balancer using mod_ssl with OpenSSL. I'm trying to recompile Apache HTTPD on the latest version (2.4.41) and am encountering the following error when running ...
1
vote
1answer
30 views

Bitwarden docker with apache reverse proxy

I have an Apache2 server for my cloud and Collabora_online(with Apache reverse proxy) and now I've tried to install Bitwarden on my server(self-hosted) but there is one problem, in the Bitwarden ...
2
votes
1answer
70 views

Apache outputting without .log

I am trying to fix an issue where an apache log is filling the /var/log/ partition. It is a single log in apache2 that is almost 4GB. I have set logrotate to rotate out at 3G, but it has not rotated ...
0
votes
0answers
10 views

What are the files found in .DAV directories created by webdav on Apache-2.4?

FreeBSD-12.0 Apache-2.4 I am archiving a webdav site and I see a large number of files inside several .DAV sub-directories. What are these files and how are they used by webdav.
0
votes
0answers
60 views

Getting “No input file specified” within PHP running as FastCGI locally - how to change handler?

I'm running XAMPP locally on Windows and have a setup where I am running multiple different versions of PHP - 5.6, 7.2 and 7.3 - 5.6 and 7.3 are running fine, but I just added 7.2 and am having some ...
0
votes
1answer
30 views

Apache 2.4 compatibility with OpenSSL

We run Apache HTTPD as a load balancer in production, using mod_ssl with OpenSSL. Whilst trying to compile the latest Apache version (2.4.41) we've hit problems with OpenSSL whilst building. My ...
1
vote
2answers
100 views

Apache2 HTTP authentication: don't ask for credentials, return 401 immediately

I have an Apache 2.4 webserver that serves some files that should be visible to the public, and others that should only be visible after authentication, which I have implemented with the AuthType ...
0
votes
1answer
58 views

Redirect http and non-www using only mod_alias Redirect, dedup SSL configuration?

This is probably a duplicate but I can't find quite what I'm looking for. I'd like to redirect http and/or non-www to https+www. This is often cited as a canonical example of when to avoid mod_rewrite....
0
votes
0answers
31 views

Apache mod_proxy returns a blank page with 200 status code

I'm running Apache 2.4.39 with mod_proxy on FreeBSD. I use this config to forward the requests to some remote web servers (IIS). All of them work fine, except one (the others are configured the same): ...
0
votes
0answers
10 views

Install java webapp as root of apache/mod-jk server

I successfully configure apache with mod-jk on my server, and now I can deploy a war file to my tomcat webapps directory, and access it with: https://my-domain/app. my vhost config is this: ...
0
votes
0answers
19 views

Apache on big server too low in performance (Cake PHP 1.3 web site), not using all the available resources

I have a "big" VM running apache 2.4.6-90, MPM Prefork, almost full dedicated to a web site programed in PHP 5.4.16 Cake 1.3 (yes, old...) that connects to a external dedicated Percona server. I ...
0
votes
1answer
31 views

apache: “Symbolic link not allowed or link target not accessible” on another filesystem only

I have a a file in remote directory which is moulted to apache DocRoot tree. When I try to download a file (not write) from that dir I get 403: AH00037: Symbolic link not allowed or link target not ...
0
votes
0answers
30 views

httpd not closing old log files on graceful restart

We are rotating httpd (2.4.6) logs with logrotate (3.8.6) on an RHEL7 server. The log rotation seems to be working successfully, the old logs are deleted from the fs and new logs created. We are ...
0
votes
0answers
24 views

What's the more decisive server hardware vector for heavy load production webserver performance [duplicate]

I'm about to buy new server hardware and I was wondering, in your opinion, and reducting problem to one machine (that's it, no more complex network infraestructure in play) what's the local server ...
0
votes
0answers
17 views

Memory leak - a simple phpinfo() page increases container memory usage

I have a PHP Info page containing the following: <?php print(phpinfo()); ?> But every time the page is reloaded, a docker stats commands shows that the memory usage goes up by 0.25% I have ...
0
votes
0answers
21 views

Block X-Forwarded-For IP subnets at apache 2.4 httpd.conf level using If

I'm hosting using pagekite Resolved some bandwidth issues down to some ip ranges Would like to block the subnet's at the httpd.conf level utilizing X-Forwarded-For IP's IP's in question: 5.188.211....
0
votes
2answers
24 views

Apache redirect <ip>/<path> to <localhost>:<other port>

I'm hosting an apache web server for a few years. This is just for some side project at work and I don't have a domain. We just use the public ip wich works great. But now I did install an other web ...
1
vote
2answers
125 views

Do servers do their own load balancing? (The cores. Single server system.)

When I look up load balancing, everything I see is talking about distributing traffic to multiple servers. I did a Google search for "single server" and "one server" in this context, and don't see ...
1
vote
0answers
14 views

Cannot redirect/proxy from Apache to lighttpd server

I have a home server that is accessible from outside with a static IP and port http://<homeip>:10001. This is a Lighttpd server. I also own a website https://example.com with Apache, I've ...
0
votes
0answers
53 views

GSuite LDAP Authentication from Apache 2.4 User not found

We've just started looking at migrating some of our applications' authentication over to GSuite's Secure LDAP. I've gone through their setup instructions, and have it working through ldapsearch. But ...
1
vote
1answer
27 views

How is server root defined in this context?

I asked a question over at Information Security and received an interesting response which in part included the following: move them off the server root So in the context of moving uploaded files "...
0
votes
0answers
18 views

Apache Reverse Proxy to Single vmware ESXi authentication problems

I have a Single Vmware ESXi host in a private Network which I have exposed the management into the public Internet via an Apache Reverse Proxy configuration. In order to make it harder to random ...
0
votes
0answers
16 views

Migration from Apache 2.2 to Apache 2.4 - Processing order of ProxyPassMatch and Rewrites

We use a local webserver as a proxy and cache to speed up access to multiple CMS of the same type. Therefore we cache the static files (within a special folder) while forwarding all other requests ...
0
votes
2answers
85 views

Render single webpage as a subdomain

Currently I have a wordpress website. This is what I am trying to accomplish: Render webpage https://example.com/specific-page/ as https://specific.example.com This is what I have tried in the ....
0
votes
0answers
29 views

Apache httpd rewrite url based on query string lookup

I need to rewrite URL to direct request to different backend servers based on query parameter, using a text map of (queryparam servername). I have tried the RewriteMap, RewriteRule with a prg: type ...
0
votes
1answer
25 views

Python module import from a WSGI script fails on RedHat server

Here is a minimal WSGI script, importing a custom python module. It runs fine on a development environment (Mint 18.1, Apache 2.4.18, libapache2-mod-wsgi-py3), but fails when deployed to a test ...
0
votes
0answers
14 views

Apache mod_proxy in kubernetes cluster

I'm using Apache (because of an authentication plugin) to proxy to a backend service in a kubernetes cluster. So the proxy chain looks like this: Internet -> Nginx Ingress -> Apache/mod_proxy -> ...
0
votes
0answers
23 views

Apache 2.4 rewrite rule not working

I'm using Apache HTTP Server v2.4. I want to make a rewrite rule: If the file is not found to return /index.html I'm using this: Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} ...
0
votes
0answers
29 views

Proxy Error vhost websocket apache configuration

I'm trying to configure a vhost websocket for my apache. Unfortunately I get the following error message in Chrome: Proxy Error The proxy server received an invalid response from an upstream server. ...
1
vote
1answer
60 views

ssl.conf SSLCipherSuite not working

I have an AWS server and have been testing it with https://www.ssllabs.com/ssltest/ to determine if I'm setting things up correctly. Type: Amazon Linux AMI 2 Apache version: 2.4.39 OpenSSL: 1.0.2k-...
0
votes
0answers
17 views

Apache - Proxy All But One Path

I'd like Apache to reverse-proxy all traffic except for one path. I'd like my non-proxied path to NOT require authorization and my proxied traffic to require SSL auth. My intent is that I could use ...