How do I redirect without www using Rails 3 / Rack?

I understand there are a lot of questions that answer this. I'm familiar with .htaccess and nginx.conf methods, but I do not have access to such traditional configuration methods on Heroku. Simone...

drupal Not Found The requested url was not found on this server

I have been stuck in a strange situation from past two days. I have a drupal installation in my /var/www/html document root directory with a name of drupal and I am accessing it with the url...

How install simplesaml on Wamp as an SP

I want implement SSO for my Website (Wordpress and an ADFS). For this, I use simplesamlphp as on SP (ADFS is the idP). To test simplesamlphp, I download the package and I install in wamp...

ASP.NET: Redirects loop with custom SEO redirect HttpModule

I wrote my httpModule attached on BeginRequest to handle SEO URL transforms and 301 redirects. Most of the things could be done with URL Rewrite, but I wanted a more flexible option and also URL...

htaccess redirect all subdomains + www to domain with cname, vhosts and htaccess

I have a rather simple problem for someone who knows, I just cant find the answer that I need. I have moved to vps and try to configure vm by myself. I need redirects: domain.com -...

How to make a redirect (301) in Node.js / Express?

I have a static site, a simple single page layout that I deploy in Dokku. I need to make a redirect (301) from www to non www and from *.website1.com to website2.com, but I don't know how. I was...

How to configure Codeigniter for HTTPS (SSL)?

I have a Codeigniter application which was developed and tested on the normal http. Now the Apache server has been configured in such a way that all of the pages are stored in a single folder...

Does redirecting a secure domain require an ssl certificate on both domains?

I'm hosting a site on Microsoft Azure and I need to add a redirect from the old domain (domain1.com) to a new domain (www.domain2.com). The problem I'm having however is that the redirect works...

docker running nginx as proxy to another webserver (on pi)

I am kind of in over my head with my current small project. (although it should not be that hard) I am trying to run multiple webpages using docker on my Pi (for testing purposes) which should all...

Squarespace Developer CLI not working as intended

Im trying to setup a new squarespace developer site with using the quick guide on the website. https://developers.squarespace.com/get-started I am unable to login to my squarespace account and...

Too many redirects with SSL - Apache

I've got a problem with the infamous "Too many redirects" error on my website since I put an SSL certificate on with certbot. I've been looking for hours here to find a solution to my problem,...

Gunicorn cannot find system Renviron error

I have been struggling with this for days, reaching my limit. I am porting a Django project from using mod_wsgi/httpd to use gunicorn/nginx I have set up a virtual environment using...

Unable to Validate JWT or access_token in API with IdentityServer4

I'm working on building out some new functionality where we have an existing system. Our goal is to have different Angular SPA's communicate with APIs to present a new interface for our legacy...

ASP.NET Core 2.2 web app on Ubuntu - how to implement Data Protection

I've started using Ubuntu (18.04) to host some simple .NET Core 2.2 websites. And when the site is deployed and started I see the...

Can't login after proxypass

I have setup an apache server as reverse proxy to point 2 different DNS names to correct servers. One of them works great, it is a simple web page with some pages. The other one doesn't, it is a...

HAProxy 1.5 URL/URI Redirects to a different domain

I'm looking for a method to redirect visitors from https://site1.co.uk to https://site2.co.uk in HAProxy. I also need to redirect sub-pages (i.e. https://site1.co.uk/page1) to similar pages on...

AWS : Classic Load Balancer www.example.com not redirecting to https://www.example.com

I have an EC2 instance on AWS which has route53 hosted zone.I have used AWS Certificate Manager for SSL and then used Classic Load balancer for the same to achieve https redirection. I have simple...

Using `Bosnadev\Database\Schema\Blueprint` instead of ` Illuminate\Database\Schema\Blueprint` for hstore in migration scripts

In my database I need a field as hstore in my postgresql database that my laravel app uses. In order to utilize it I use the bosnadev\database package and I followed the instructions in the...

Dynamic subdomain handling in a .htaccess file for xxx.domain.com to redirect to a ../users folder

Here is where I am. I am great at CodeIgniter and general LAMP but not so great at .htaccess. I am setting up the PHP handling of dynamic subdomains in a user creation setting. Think mydomain.com...

How to fix this error? (node:4) UnhandledPromiseRejectionWarning: Error: ETELEGRAM: 400 Bad Request: chat not found

I'm trying to set up a telegram bot. I entered all the data but then this error comes out. I tried to reload. I don’t know which fragment to insert.Probably here. Inserting the code is what...

Node JS deployment

I tried to put my Node JS app for my student project. Here is the project : Project N.B: Public is the result of an "npm run build from the front made with Vue JS" When i work locally, I use a...

How to redirect non-www to www on my Wordpress website

I'm trying to redirect all the requests from https://mywebsite.com to https://www.mywebsite.com (Wordpress Website). I activated SSL and used the "Really Simple SSL" plugin to enable...

IIS: Remove http and force https

I have a simple website and I would like to eliminate the www and force it to be https. I managed to get 3 of the possible combinations working but am stuck on the last one. http://website.tld ...

Apache Mellon Configuration

I'm trying to configure an apache server for an saml authentication and I'm using apache mellon for this. I configured the apache and in /var/www/html I wrote an simple php server with 2 routes:...

Issue with Let's Encrypt certificate : https://www.website.com not working with redirection to https://website.com

I have an issue with the certicate that I have generated for a website (dubbed here website.com). I can type in brower http://www.website.com and successfully redirected to https://website.com as...

nginx conflicting server name, but different ports

My plan was to do a simple Nginx setup with redirections for URLs without the subdomain "www" and without port 443. The problem is that I get the following warning as output: nginx: [warn]...

Converting Jackett api direct URL to magnet URL

I'm working on a Perl program to download torrents using Jackett indexers and torznab APIs. For indexers that provide the magnet link directly in the XML this is super simple, but others provide a...

error: No module named 'register.forms', using crispy-forms django

I am trying to install a django user registration module in crispy-forms and I am getting the error: No module named 'register.forms' The exact line giving me issues appears to be from .forms...

Google Load Balancer www to non-www redirects

I am having some difficulty with www to non-www redirects with google load balancer. Currently I have HTTP -> https working no problems, however, I haven't really seen any recent docs on how this...

Authentication in FastApi using oauth2 and jwt

I am new to FastApi. I am trying to authenticate an user and redirect him to a protected endpoint. Upon giving the username and password (johndoe, secret) in /docs or /token, I am getting the...