All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
79 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 ...
vrao's user avatar
  • 109
1 vote
1 answer
91 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 ...
tigrou's user avatar
  • 111
0 votes
0 answers
217 views

Apache SSL not working - server took too long to respond

I am trying to get Apache (2.4.41, Ubuntu) to work with SSL and am not having luck. Whenever I visit the site in my browser, I get the error "This site can't be reached: my-domain took too long ...
Jeff's user avatar
  • 135
0 votes
0 answers
287 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://...
gakshat's user avatar
  • 11
0 votes
0 answers
223 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 ! ...
Brady Gunn's user avatar
1 vote
3 answers
169 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 ...
Eddie Rowe's user avatar
1 vote
0 answers
146 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. ...
UM-Li's user avatar
  • 31
0 votes
1 answer
23 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 ...
Max's user avatar
  • 101
0 votes
1 answer
2k 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 ...
Katalux's user avatar
1 vote
1 answer
33 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 ...
Zak's user avatar
  • 354
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 ...
BubblesFW's user avatar
0 votes
0 answers
954 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-...
SlowFox's user avatar
  • 11
1 vote
2 answers
603 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....
JoeBe's user avatar
  • 111
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-...
Jerry's user avatar
  • 3
3 votes
1 answer
1k 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 ...
Mladen B.'s user avatar
  • 222
0 votes
0 answers
378 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 ...
Kitserve's user avatar
0 votes
0 answers
548 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 ...
Jetto Martínez's user avatar
1 vote
2 answers
1k 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 ...
Mike's user avatar
  • 689
0 votes
0 answers
261 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 ...
ruby.lee's user avatar
0 votes
0 answers
252 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 ....
ziiroust's user avatar
1 vote
2 answers
5k 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 ...
Vallout's user avatar
  • 11
1 vote
2 answers
1k 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 [...
Tobia's user avatar
  • 1,312
1 vote
0 answers
396 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 ...
DeveloperLee's user avatar
1 vote
1 answer
175 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 ...
stripies's user avatar
0 votes
2 answers
349 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 ${...
Camilo Fuentes's user avatar
1 vote
1 answer
3k 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 ...
Apache's user avatar
  • 294
1 vote
0 answers
339 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=...
JellicleCat's user avatar
1 vote
0 answers
1k 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 ...
TmCrafz's user avatar
  • 139
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 ...
Nathanael's user avatar
1 vote
1 answer
448 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. ...
Abraham Putra Prakasa's user avatar
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 ...
Kaustubh Desai's user avatar
0 votes
3 answers
806 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 ...
THExLONExCUBAN's user avatar
1 vote
1 answer
47 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-...
dm811's user avatar
  • 21
1 vote
0 answers
383 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 *:...
Robin Schulz's user avatar
0 votes
1 answer
651 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 ...
Leandro Lima's user avatar
5 votes
1 answer
1k 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 ...
bolino's user avatar
  • 275
1 vote
0 answers
141 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 "...
Lambert's user avatar
  • 11
4 votes
1 answer
766 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 ...
oucil's user avatar
  • 587
1 vote
2 answers
3k 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 ...
Maltiriel's user avatar
  • 113
1 vote
0 answers
26 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 ...
Lelio Faieta's user avatar
0 votes
1 answer
642 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 ...
Petri's user avatar
  • 49
1 vote
0 answers
846 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 ...
matuma's user avatar
  • 11
0 votes
1 answer
41 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, ...
Richard T's user avatar
  • 1,242
0 votes
0 answers
24 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 ...
Johnny's user avatar
  • 113
0 votes
1 answer
324 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....
Ruben's user avatar
  • 13
1 vote
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 ...
Mocking's user avatar
  • 131
0 votes
0 answers
734 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 ...
Julien G's user avatar
2 votes
4 answers
8k 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 ...
Julien G's user avatar
0 votes
1 answer
3k 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 ...
housemd's user avatar
  • 15
1 vote
1 answer
679 views

Apache redirect multiple https domains to one https domain using virtual Hosts

I’m running a CentOS Server with apache 2.4 that serves two domains: myurl.domain.com and myurl.otherdomain.com. Using virtualhosts I want all requests to be redirected to https://myurl.domain.com. ...
karkraeg's user avatar
  • 113