0
votes
0answers
14 views

Using htaccess to force https not working for full urls with htpasswd

I am currently using htaccess to force all http requests on my apache2 server go to https. https is setup and working properly. The htaccess rewrite is working if i use just the base domain name (ex: ...
0
votes
2answers
31 views

Rewrite to www AND https for multiple domains not always working

Our platform can be access by multiple domains (one per language/brand). For all domains we force www. and https://. We do this with one .htaccess file containing following code: RewriteEngine On ...
0
votes
0answers
21 views

URL redirect/rewrite using the .htaccess file

When I tried to open example.com on chrome it direct correctly as http://example.com, but its not working on firefox redirects with https. Thanks in advance
0
votes
1answer
13 views

mod_rewrite to force SSL for a subfolder

I try to make a redirect from a special folder to a special host. When somebody enter http://mydomain.com/administrator he should be redirected to https://a-otherdomain.com/mydomain.com/administrator ...
0
votes
0answers
105 views

http to https rewrite rules not working

I need to serve a form on the site using https. Let's say this is the form url: http://www.mysite.com/cms/visit/residents/form and requests need to go here: ...
0
votes
1answer
71 views

rewrites not working with ssl

I can't figure this one out, it seems that Prestashop url rewrites stop working when using ssl (https) in the url:s, the base url works fine like https://www.domain.se but for instance images are not ...
0
votes
1answer
48 views

Canonical https and www [closed]

Apologies if this seems pretty simple to some folk. In the past I have set up 301 redirects with that snippet of code that is all over the internet: Options +FollowSymlinks RewriteEngine on ...
-1
votes
1answer
143 views

Force redirect http to https on Elastic Beanstalk [closed]

In order to redirect http to https on a AWS Elastic Beanstalk php application i'm using rewrite rules on .htaccess file. My problem is that my rules work fine for urls pointing to files but not for ...
-1
votes
1answer
62 views

RewriteCond htaccess [closed]

I use the following in my .htaccess for forcing some URLs to use HTTPS: RewriteCond %{HTTPS} off RewriteCond $1 ^(afrekenen|bestelstatus|download) [NC] RewriteRule (.*) ...
0
votes
1answer
43 views

htaccess: turning https on and off for specific urls?

I am trying to configure some conditional redirects, what I want is this: http://www.example.com/login http://www.example.com/login/* http://www.example.com/login/account ...
0
votes
0answers
38 views

mod_rewrite condition not evaluating correctly

I'm trying to redirect all HTTPS traffic to the same URL as HTTP, except for one specific subdomain/folder combination, http://sub.example.com/admin/. I can't seem to get it to fully work. The ...
0
votes
1answer
47 views

Switching http to https using mod_rewrite

I know there are lots of similar questions, but I spent more than 2 days investigating it with no success, so you are my last hope ) I wrote following rewrite rules: RewriteCond %{HTTPS} off [NC] ...
0
votes
0answers
58 views

htaccess redirect https to http

Currently I have the following in .htaccess: RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{HTTPS}s ^on(s)| RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} ...
0
votes
2answers
68 views

apache rewrite all URLs to HTTPS except for one

I have a website that I'm directing all non SSL traffic to use the https protocol. I've used RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} This works great, but I ...
0
votes
1answer
96 views

.htaccess: force www on all pages, force https on one page, force http on all other pages

I have this site, example.com. What I want to do is force www on all pages, force https on one page, force http on all other pages. I am using the following .htaccess code to redirect all http ...

1 2 3 4 5 8
15 30 50 per page