All Questions
Tagged with apache-2.4 https
189 questions
0
votes
1
answer
47
views
Apache2 stops serving HTTP pages at random times during the day, but not HTTPS
I've been noticing my websites are going down pretty frequently at times for the last few weeks, only sometimes but after a while they would be back up and running.
Until now, I attributed this ...
0
votes
0
answers
48
views
Apache Configuration
I am sure you may have encountered this issue.
I have a server with jira, bitbucket and confluence configured on the same server. As the bitbucket is moved to linux serer i am wondering how can I ...
0
votes
2
answers
393
views
configuring SSL for two different applications on same server: web server and python
I want to run SSL for web server https://www.domainname.com on port 443 and python REST api server https://mgmt.domainname.com with Flask. I have configured Apache SSL and it is running on 443. I ran ...
1
vote
1
answer
262
views
Apache mpm event not working as expected with SSL/HTTPS
I have a server with Apache/2.4.6 (CentOS) + OpenSSL/1.0.2k-fips (I know this is an old version of Apache but it cannot be upgraded right now). mpm event is used for multi processing.
When serving ...
0
votes
0
answers
829
views
Apache Redirect HTTP To HTTPS Not Working
I am trying to force redirecting all HTTP traffic to HTTPS using my httpd.conf file on my Apache server.
Expected behaviour: When users visit http://example.com, they should get redirected to https://...
0
votes
0
answers
365
views
Running Next.JS app on Apache VPS server, can't get HTTPS to work
I have a Next.JS app running on a VPS server on port 1234. I have reversed proxied it via the Apache include for the subdomain with the following lines:
SSLProxyEngine on
ProxyPass /.well-known !
...
1
vote
3
answers
285
views
Apache: How to "hide" a subdomain but serve over https
I will freely admit my ignorance - or perhaps enough knowledge to be dangerous.
I have a subdomain http://db.<mydomain>.com that serves the phpMyAdmin utility. It's currently in a directory with ...
1
vote
0
answers
210
views
Set Apache to Block HTTPS Requests to a Certain Subdomain
I have these domains
domain.com
www.domain.com
srv.domain.com
pointing to the same server IP, but want my website to be accessible only via domain.com and www.domain.com which have SSL certificates. ...
0
votes
1
answer
28
views
http timeout https works - Apache ssl redirect doesn't work
Asking myself this question because it took me very long to figure out and I hope I can help others, to be faster.
On my server https://example.com worked fine and I set up a redirect to make sure it ...
0
votes
1
answer
3k
views
Apache HTTPS not works, HTTP works
OS: Ubuntu Server 20.40.
WebServer: Apache2
SSL: OpenSSL
SSL Module enabled
SSL files copied on server
SSL site configurated (above the code)
Apache Syntax: OK
Firewall: disabled
HTTP request works
...
1
vote
1
answer
54
views
Advice on a catch all for https incoming but no cert installed
I am trying to think of an elegant way to handle an SSL / HTTPS issue we are having. I have read THIS QUESTION but it raises a slightly larger question in my case.
Say I have these domains installed ...
1
vote
2
answers
2k
views
Forcing HTTP/HTTPS Redirect on AWS LightSail Wordpress Multisite - Not being implemented
I have searched many site and also Bitnami support pages and I was unable to find an answer to this issue I see. I cannot post on Bitnami support cummunity as a new topic as I have just joined :/
I ...
0
votes
0
answers
1k
views
HTTPS POST-Request fails in connection with Content-Length
A PHP application posts XML data with curl; nothing fancy, the output looking like (c/p, but identifiers and passwords changed):
Host: foreign.host.example
Authorization: Basic dGVzdDpnZWhlaW0=
User-...
1
vote
2
answers
1k
views
Reverse proxy in Apache + CentOS for HTTPS requests to PostgREST webserver [closed]
I would like to make https requests to my postgREST webserver, which by design doesn't support https. I spend several days now I don't know any further...
My setup
My server is running on CentOS 7.9....
0
votes
1
answer
44
views
Apache directs https:b-site visitor to https:a-site (b-site don't have ssl)
I've got an issue with my apache system.
it's brand new, and so are I.
my problem now is that if somebody visit https://123.446.689.0 or https://b-site.com, (which don't have any ssl), then will a-...
3
votes
1
answer
2k
views
Apache, redirect a client instead of showing HTTP/HTTPS error
If a web admin configures an HTTPS/SSL vhost on a custom port (e.g. 4433) and a browser connects to that vhost but using HTTP (http://vhost:4433), is there any way to configure apache to rather issue ...
0
votes
0
answers
446
views
Possible causes for Apache not responding on port 443
Background: Debian Stretch amd64 server on Google Cloud with Apache 2.4.25. It's running a PHP-based website via proxy_fcgi to PHP-FPM. Backend database is PostgreSQL 10. Postgres packages have been ...
0
votes
0
answers
757
views
502 on redirects from http to https on GCP
I'd like to start by saying that I know there are quite literally hundreds of topics about this, which I've followed before to get things working. Yet, this configuration, which I had working for ...
1
vote
2
answers
2k
views
Apache serving HTTP instead of HTTPS
I recently upgraded from Apache 2.2 to 2.4 (I know, I'm slow to upgrade, don't hate me). I have the following virtual host:
<VirtualHost _default_:30000>
DocumentRoot /opt/phpmyadmin
...
0
votes
0
answers
363
views
Disable SNI on Apache
I've a Windows Server 2016 installed with Apache 2.4.37
In the Apache server, I've setup multiple virtual host like:
abc.host.com
def.host.com
ghi.host.com
All this virtual host share the same IP ...
0
votes
0
answers
308
views
Can't download .bin file from server (Apache 2.4.48)
I have an Ubuntu server with Apache2.4. (Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-74-generic x86_64))
I updated Apache from 2.4.46 to 2.4.48 and everything else I have tested is working properly except ....
1
vote
2
answers
8k
views
AH01630: client denied by server configuration
I am trying to set up a webdav server on my centos 8 and am stuck for the last hours with a "client denied by server configuration: /srv/webdav/fs" message. I have read several threads where ...
1
vote
2
answers
2k
views
Apache redirect HTTP to HTTPS Redirect or Rewrite?
I have found two way to redirect http to https with apache.
Using Redirect
Redirect / https://mydomain/
Or Rewrite
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://mydomain/$1 [...
1
vote
0
answers
489
views
How would you connect an Apache Reverse Proxy to a remote server via HTTPS?
I have an Apache Reverse Proxy set up that I'm trying to route to a remote IIS web site via https and its IP address. The website in question is a .Net5.0 website that uses Microsoft's Azure ...
1
vote
1
answer
242
views
Apache mod_jk SSL & appBase
I'm setting up mod_jk for Apache to use with Tomcat and there are two issues I've ran into.
SSL
I have SSL enabled on Apache and all traffic is going through HTTPS, including the requests forwarded to ...
0
votes
2
answers
440
views
I can´t redirect HTTP to HTTPS in my Apache server proxy
(Sorry for my bad english)
Hi, i know that this is not the first question about redirect to a secure conection in a proxy server but i have no ideas how to resolv it.
this is my config
ErrorLog ${...
2
votes
1
answer
5k
views
Apache2 - default SSL/HTTPS page - aka. <VirtualHost *:443>
This is a very simple question.
I have several websites hosted. Some are HTTP, some are HTTP and HTTPS. It all works.
However, if I mess up an SSL site by pointing a domain at my server where the SSL ...
1
vote
0
answers
442
views
Apache forward proxy with SSL is not using HTTPS?
I've configured a forward proxy in Apache 2.4, but my requests through it result in a 400:
curl: (56) Received HTTP code 400 from proxy after CONNECT
# Using the proxy results in a 400
https_proxy=...
1
vote
0
answers
2k
views
CORS and Preflight problems while making api calls
I have some CORS and preflight problems with my software I can't solve. To test it I was ursing a cors test site to simulate it. When I make an api request to my server application I get the following ...
1
vote
1
answer
1k
views
.htaccess to URL rewrite AND force https
site: example.com
Joomla subdirectory: example.com/joomla
I want the Joomla install at example.com/joomla to be (or appear to be) the root of the site, i.e. people visiting example.com are redirected ...
1
vote
1
answer
495
views
SSL not working Apache, mod already enabled ports already open
I have an issue in production server debian 10 in google cloud platform.
SSL not working Apache but these conditions are already fulfilled:
mod ssl already enabled
firewall GCP already opened.
...
0
votes
1
answer
2k
views
TCP 443 listener on AWS Private Network Load balancer throws SSL_ERROR_RX_RECORD_TOO_LONG
I have a AWS private Network Load Balancer setup with a listener TCP 443, the target group attached to this listener is also running on port 443. The instances attached to this target are running ...
1
vote
3
answers
951
views
Linux iptables: Drop all Apache requests except from a single IP Address
I'm currently building a website using Apache on a Debian 10 Server. I would like to block all traffic to my website except from a single IP Address (my home network's Public IP Address) so that I can ...
1
vote
1
answer
50
views
VirtualHost 443 seems to be doing nothing when confgiured
I'm running an Apache2 setup, and it seems that everything I put inside the <VirtualHost *:443> tag gets completely ignored in the customconf.conf which is located at /etc/apache2/sites-...
1
vote
0
answers
449
views
Apache2: RADIUS authentication before rewrite engine HTTPS
I tried to set up a reverse proxy with HTTPS and Radius authentication. Unfortunately, I don't get an authentication query before it redirects to the HTTPS page. What did I do wrong?
<VirtualHost *:...
0
votes
1
answer
880
views
Connection error when enabling https on example.com:8080 (Docker) with Apache
I will try to explain my situation but I apologize right now because I started studying the subject a little while ago and maybe I don't know how to give all the details correctly.
I recently got a ...
5
votes
1
answer
2k
views
Add HTTPS support for an application running its own web server, under a non standard HTTP port
I have a server running Debian 10.
It runs Apache 2.4 for a a web services accessible under https://example.com, thanks to a LetsEncrypt certificate.
But it also runs an app (Subsonic) which serves a ...
1
vote
0
answers
226
views
Return 404 after configure the https on Apache 2.4
I am trying to deploy a new Angular app with apache 2.4 + ubuntu 16. Angular app is the frontend app, it would call the api from backend servers.
I can visit the home page, but failed with error "...
4
votes
1
answer
2k
views
How can I apply HSTS header to all vhosts over 443 in Apache
I'm looking to add the HSTS header in Apache...
# HSTS / Header Strict Transport Security
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
... but ...
1
vote
2
answers
6k
views
How can I configure Apache to redirect root to a suburi in addition to https redirection?
I have an Apache webserver running a bunch of web apps. I have successfully redirected incoming http traffic to https for every individual app, but I'm having trouble routing ALL traffic coming to the ...
1
vote
0
answers
29
views
Apache not redirecting as expected
I have a virtual host set up on Apache 2.4 on Ubuntu server 18.04
The setup is made of a .conf file for port 80 that contains a redirect to https and a .conf for port 443 that contains all the ...
0
votes
1
answer
747
views
Mod SSL compiled against server
I have an issue with www+https redirection and I saw this error in logs:
[ssl:warn] [pid 204:tid 412] AH01916: Init: (localhost:443) You
configured HTTP(80) on the standard HTTPS(443) port!
So I ...
1
vote
0
answers
991
views
Apache ProxyPass returns 400 Bad Request with HTTPS
I have an Apache server in front of a web application server (AEM) that proxies requests to another application server (Magento). When I'm using this on localhost with HTTP everything is fine, but ...
0
votes
1
answer
48
views
After running certbot run -d mydomain.com, the domain remotely verifies but site does not come up; what next?
Wanting to "join the modern age" of enabling https on established Apache-server based virtual hosts (some 54 of them!) I finally got around to trying "Let's Encrypt" (by EFF.org), which, by the way, ...
0
votes
0
answers
29
views
SSL redirection - how does the client know to switch?
I'm trying to set up a Tomcat cluster behind an Apache load balancer. When I go to the load balancer's URL using a browser I get redirected from http to https. When I do the same with curl I don't. I ...
0
votes
1
answer
331
views
Apache Virtualhost Redirect HTTPS non-www to HTTPS www not working
I'm having an issue with apache. I would like to redirect:
http://www.example.com to https://www.example.com - ok
http://example.com to https://www.example.com - ok
https://example.com to https://www....
2
votes
1
answer
1k
views
Apache TRACE method not disabled on port 80
I've tried multiple methods to disable the TRACE method on my Apache webserver but for some reason it's disabled for port 443 but not port 80.
I've added the following directive to the top of my ...
0
votes
0
answers
1k
views
How to debug error 502 on Apache2 reverse proxy with HTTPS ? "Error reading from remote server returned by /"
I'm not able to solve this error while trying to configure a reverse proxy in Apache2 to redirect trafic into a Docker container.
I've see several people online trying to tweak timeout parameter on ...
2
votes
4
answers
11k
views
Proxy Error 502 "Error reading from remote server" Apache 2.4.18 Ubuntu with HTTPS into Docker container
I'm no expert and can't see what's the problem, but obviously this error is caused by a tiny detail it seems I can't debug. Any idea?
What I have:
I have multiple virtual hosts configured with Apache2 ...
0
votes
1
answer
4k
views
Apache HTTP to HTTPS Proxy Redirect multiple addresses
I need your help.
I have 2 versions of the application running on the Linux machine. Version1 runs on localhost port 5000, version2 runs on localhost port 5001.
I need users to be able to access ...