All Questions
229
questions
0
votes
1
answer
44
views
Is possible return a static page in https virtual host using lighttpd?
It seems like redirect is not done.
If I put URL https://test2/static_page in browser it works but if I put https://test1 don't redirect
SERVER["socket"] == ":443" {
$HTTP["...
0
votes
0
answers
38
views
The "signin-google" redirect works locally but fails when publishing the app to the server
I am trying to make Google authentication enable for my web app. It works fine locally. But after I published it into my host, it failed at the callback.
I have been trying several ways for five days ...
0
votes
1
answer
77
views
Configure SSL for Apache Reverse Proxy
I want to redirect HTTPS connections to my domain towards a unique subdomain using Apache2 reverse proxy. I want all the connections that come to a.example.com to be redirected towards $random$.b....
0
votes
1
answer
180
views
Exclude specific URL from HTTP to HTTPS redirect in apache2 virtual host
I'm looking for an easy configuration to exclude a specific URL(pattern) from my apache2 HTTP to HTTPS redirect and failed so far. Background is an API with typical authorization mechanics which ...
0
votes
1
answer
1k
views
ssh local port forwarding not working when url is redirecting to https
I have a windows 10 home with Linux kali running inside it with vmware virtual machine software.
There is a local website that opens on url https://example.com in linux and has self signed certificate....
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 ...
0
votes
1
answer
392
views
redirect http to https in nginx load balancer
we have a setup of nginx load balancer where we configure our servers.
Now, the requirement came like all the dns that we are maintaining should be only allowed with https.
Example: tempserver.com is ...
2
votes
0
answers
317
views
httpd on OpenBSD: How to Redirect URLs Ending In '.php'?
I am running an httpd(8) web server on OpenBSD. php-8.1.9 is used to serve php. In /etc/httpd.conf I have the following (example.com is a placeholder for the actual domain):
server "example.com&...
1
vote
0
answers
740
views
Nginx Redirect from HTTP to HTTPS works in Firefox but not in Chrome
with my Nginx configuration (see below) redirecting from http to https works fine when accessing the page (http://example.com/) with Firefox. But for some strange reason it does not work with Chrome.
...
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 ...
2
votes
1
answer
390
views
Lighttpd - Redirect HTTPS 443 to HTTPS 123
I have HTTPS working for a local instance of Lighttpd.
But I'm wanting to redirect:
http://192.168.1.254 -> https://192.168.1.254:123
https://192.168.1.254 -> https://192.168.1.254:123
My ...
0
votes
1
answer
602
views
Avoid duplication in nginx redirects config?
Setting up redirects www → non-www and HTTP → HTTPS at the same time, I ran into duplication issue that I fail to overcome.
On my domain—let it be example.com—I have a website with primary name ...
0
votes
0
answers
251
views
AWS S3 static website: unable to access https://mydomain.tld but http://mydomain.tld redirects to https correctly
I've set up a static website on AWS S3, using a custom domain hosted at Namecheap, and Cloudfront serving over https. I am able to access my site at http://mydomain.tld, which redirects (using a DNS ...
0
votes
0
answers
86
views
HTTP redirect not working
My website: https://www.louiswebsdale.co.uk/ keeps giving the "400 bad request invalid header" error when trying to visit it without the https. So www.louiswebsdale.co.uk or http://www....
0
votes
2
answers
3k
views
IIS7.5: HTTPS->HTTP 302 redirect
I have an asp.net website running on IIS7 configured long ago. There appears to be a 302 redirection in place redirecting all requests over HTTPS to HTTP instead. I would like to remove this redirect ...
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 [...
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 ${...
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 ...
0
votes
0
answers
38
views
nginx multiple servers with catchall always triggering catchall
I want to host 2 sites on 1 server (to save money, my server is only using like 2% CPU at any time anyway). I ran into an issue a month ago where google shows my IP instead of domain in search results,...
1
vote
1
answer
2k
views
nginx not redirecting to https
I am following the instructions on this page to setup an R Shiny server on a DigitalOcean droplet.
What I would like to have:
A Shiny server running on shiny.domain.com
Automatic redirect from shiny....
0
votes
1
answer
1k
views
Lighttpd 1.4.45 - HTTP to HTTPS redirects not replacing ${url.authority}${url.path}${qsa}
I tried to reconfigured my lighttpd to automatically relocate any HTTP requests to HTTPS requests. To do this, I found the following config snipped in the Lighttpd Redmine Wiki:
$HTTP["scheme&...
0
votes
0
answers
2k
views
Redirect HTTPS+IP Address to Domain Name
So my example.com configuration file successfully redirect the following URL to https://example.com/ ...
http://1.2.3.4
http://example.com
http://www.example.com
https://example.com
https://www....
0
votes
1
answer
340
views
A generic way to redirect all non-www https traffic to www https in nginx
Is it possible to put a redirect in 1 single server block to redirect any https (port 443) that do not have www to https://www...? I don't want to have to put that redirect in every single server ...
1
vote
1
answer
3k
views
Redirect HTTPS to another HTTPS site without warning [closed]
I have recently moved a site over to a new domain. The hosting stayed the same, just a new URL for the site.
I want https://oldsite.com to redirect to https://newsite.com.
I'm getting the Invalid ...
0
votes
1
answer
257
views
Two sites on the same server with unwanted redirection
I have two different sites
domain1.com
domain2.com
Problem : I only can access domain2.com by using www.domain2.com
If i try domain2.com it redirects to domain1.com.
Configuration files:
domain1....
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 ...
0
votes
1
answer
3k
views
IIS: Redirect HTTP to HTTPS for all URLs
For our website (Windows Server 2016 Datacenter, IIS 10) we use two different URLs - lets say url1.com and url2.com by using the same root directory and the same application pool.
In our web.config ...
0
votes
1
answer
2k
views
how to auto redirect from 8080 port to 8443
I am using Ubuntu 14.04 and apache-tomcat version 6. I changed all necessary things to redirect the port from 8080 to 8443 and it's working fine, but the thing is both urls are working. I would like ...
1
vote
1
answer
1k
views
Appengine app.yaml HTTPS redirect with secure flag isn't working
My application is deployed in Google AppEngine and my DNS is in GoDaddy.
My app.yaml is like such:
handlers:
- url: /.*
http_headers:
X-Forwarded-Proto: https
script: auto
secure:...
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....
0
votes
1
answer
111
views
Requirements for redirect between two domains with https with different owners
I recently started in a role as a sysops engineer. However, I'm still missing quite a few basics, specifically regarding SSL/TLS certificates & their relation to DNS.
Here's the use case:
A ...
2
votes
2
answers
468
views
How to do HTTPS redirects
just trying to lock down some information as I've asked several hosting providers and I'm not sure I've got a clear enough answer to satisfy. It's a two part question: how to have HTTPS to HTTPS ...
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 ...
1
vote
0
answers
3k
views
nginx too many redirects HTTP to HTTPS
I have a problem with accessing my site from Internet.
When I am trying to do that the browser is showing the error "too many redirections" or "redirection loop".
This is my site conf file. I ...
0
votes
1
answer
2k
views
Nginx redirect HTTPS, www, IPv6, HTTP2
I'm trying to avoid redirect chains in Nginx, which I am using as a reverse proxy to Apache.
I've been able to find plenty of documentation about redirecting HTTP to HTTPS.
I've also found plenty of ...
0
votes
1
answer
180
views
SNI HTTPS Redirection Haproxy
I’m using now haproxy v.1.7 for redirect HTTPS requests, but I have the following problem.
I want to recognize any subdomain that comes from any user for this domain test123.com (as an example) and ...
0
votes
1
answer
431
views
HAproxy http to https redirect won't work with Internet Explorer
I have a problem with HAproxy, it won't redirect HTTP to HTTPS if using Internet Explorer. It just tells me that this webpage doesn't exist if I'm trying to connect over http.
My configuration (real ...
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.
...
0
votes
1
answer
569
views
Nginx - Specific page rewrite to another domain, ssl warning
I have 2 websites (old-domain.com and new-domain.com), I am a shutting old-domain.com down and what to redirect to the new-domain. So I added the rewrite and return lines into my conf files. The catch ...
1
vote
1
answer
2k
views
HTTPS wildcard redirect in AWS
What's the most straightforward way to implement an HTTPS wildcard redirect in AWS?
That is, I want fake13124.example.com (and any other such variations) to be redirected to example.com, but not ...
1
vote
1
answer
424
views
HTTPS Only vs Redirect to HTTPS
When configuring AWS CloudFront (or Load Balancer) I have the option to choose to Redirect all HTTP requests to HTTPS or use HTTPS Only option.
My website works only with HTTPs, so I don't want any ...
0
votes
0
answers
85
views
Redirect from www to non-www not working in Nginx
I'm having trouble redirecting from www to non-www for one of my domain names. In the past I have used a similar (read identical) configuration and it just worked. Somehow this doesn't work however.
...
1
vote
1
answer
92
views
Nginx Newbie trying to redirect http to https
I got my Nginx test server running on a virtual machine on Microsoft Azure. I was able to view my site when going to http://www.myTestSite.com until I decided to try redirecting from http to https. I ...
0
votes
1
answer
2k
views
Forcing to redirect https to http in Apache 2.4
I am trying the following. I have a domain where I publish. This publication is only by http, but I need all requests by https to redirect me to http since I do not have ssl certificate installed and ...
0
votes
1
answer
429
views
haproxy 1.7 redirect and rejecting some IPs
To redirect several subdomains on the same IP to different hosts, I'm using haproxy (1.7.5, Debian stable) and it works fine. However I also want to restrict access to some hosts by IP and display a ...
-1
votes
1
answer
224
views
How to force/redirect http to https? [duplicate]
I've following VirtualHost configured:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/mysite.com/public_html/
ServerName www.mysite.com
...
2
votes
2
answers
60
views
Advertise HTTPS support without using HSTS
I have a website which supports HTTPS: all pages of the form http://example.com/foo can be accessed as https://example.com/foo (the query will return the same content). That said, the website doesn't ...
0
votes
3
answers
578
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
2
answers
951
views
Apache HTTPS / non-WWW redirect
I'm wanting to re-direct all my web traffic to
https://example.com
So-far I've got everything except https:www.example.com re-directing fine
This is what my Virtual Host Config file looks like
<...
1
vote
0
answers
339
views
PfSense: redirection to authentication / login page from HTTPS links for unauthentified users
I've installed and configured pfsense 2.2.4
it works well and redirects unauthenticated users to the login page, as long as they use http; but when I type an https link the redirection doesnt work.
...