2
votes
1answer
167 views

Redirect https .com to https .co.uk without a valid SSL cert on .com without DNS change

I have an SSL cert valid for the www. and . subdomains on a domain. That's up and working great. All traffic on http redirects to https, and all bare domain traffic redirects to the www. version. In ...
0
votes
1answer
39 views

Redirecting SSL Traffic to Non-secure site

I am currently running a website on a shared server (Hostgator). The site does not have an SSL certificate and doesn't really need it since it is just informational. However, I've noted that a few ...
1
vote
1answer
1k views

SSL setup with apache in front of tomcat

i m trying to setup Apache with SSl and proxy SSL requests to my tomcat instance. I think i made the SSL work but theres still a error that shows up: Bad Gateway The proxy server received an ...
3
votes
1answer
653 views

How to redirect all non www and http traffic to www and https with Apache2

In my httpd.conf, I have RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^mysite.com [NC] RewriteRule ^(.*)$ https://www.mysite.com/$1 [L,R=301] But that's not working properly. I want the ...
0
votes
2answers
534 views

Redirecting https urls to the http equivalent using htaccess file

The situation I have is that I have made a new website for a client, the URL format of which is http://newsite.com. The clients old website used SSL and had the URL format https://www.oldsite.co.uk. ...
0
votes
2answers
73 views

How can write a mod_rewrite rule to determine if the domain is not the main domain then change https:// to http://

I've set up a WordPress multi-site with a wildcard ssl for example.com to access the admin area securely. However I'm also using domain mapping to map other domains to other sites e.g. alldogs.com to ...
2
votes
4answers
63 views

Forcing SSL with mod_rewrite

I have the following statement and it works perfectly to redirect all requests for "www" on :80 to force the browser to the same location on :443 RewriteEngine on RewriteCond %{HTTPS} !=on ...
1
vote
1answer
69 views

Mod_rewrite display subdomain.domain.com and call domain.com/subdomain/ for SSL

I have a website secured by a standard SSL certificate, securing a few different shops under different subdirectories. Ex. domain.com/shop1/ The shops are also accessible via a subdomain e.g. ...
0
votes
3answers
390 views

using modrewrite to change http to https? (not redirect)

This might sound a little crazy, but bare with me. I basically have an include file, lets say inc-navigation.html, that has absolute paths (http://www.pathtoimage.com/image.com) that are on EVERY ...
4
votes
2answers
490 views

Forwarding 80 to 443 on Nagios woes

I perhaps just need some extra insight because I don't see where I'm going wrong. I used an SSL Cert to secure our nagios server. We want to specifically require all traffic over nagios (like 2 users, ...
1
vote
1answer
60 views

How can I create multiple VirtualHost entries that share a set or RewriteRules?

I have an apache configuration with three virtualhost entries. Each entry is bound to a different port so that we can provide a different SSL certificate based on the port. Our load balancer is ...
3
votes
2answers
2k views

Redirecting SSL without raising an alert

A client has an SSL certificate only for the www.site.com version of the domain, not site.com. Redirecting for regular HTTP was not a problem via mod_rewrite. However, this method seemed to fail for ...
-1
votes
1answer
333 views

Redirecting https requests to a subdomain with Apache2 and mod_rewrite

I have a site that has an SSL certificate on a subdomain, let's call it https:// ssl.maindomain.com. I want to redirect all https requests on https:// maindomain.com to https:// ssl.maindomain.com, ...
1
vote
2answers
961 views

Is there a way to access 'mod_rewrite' before 'mod_ssl'?

Scenario: I have 2 domains: thinkingmonkey.me & thinkingmonkey.com. Whole of the site is accessed under https. Bought a certificate from a CA with common name thinkingmonkey.me. For http: ...
1
vote
1answer
629 views

mod_rewrite redirects for site root and subdirectory from HTTP to SSL

Ok, so I have two sites within the same webroot — the main site (in the root) and an unrelated bunch of files in a subdirectory. We would like both of these sites to force rendering under SSL. At the ...
0
votes
3answers
7k views

Why is https not working?

I am trying to redirect just the root of my site to https. Although the rewrite happens, https does not yield anything. The browser says. connecting to thinkingmonkey.me... and stagnates. ...
0
votes
1answer
513 views

How to get Apache to serve SSL Bugzilla CGI from a subpage (NOT subdomain)?

I'm trying to set up Bugzilla with SSL to be served by Apache from https://www.foo.com/bugzilla since I don't want to pay for an extra SSL cert to get a subdomain for bugzilla. What is the best ...
2
votes
1answer
330 views

Rewriting to https without a certificate?

Our environment looks as follows: HLB (Ace) --> redundant Apache servers --> Backend Websphere servers Secure Traffic coming into the Load Balancer, where the SSL Certificate is decrypted. The ...
0
votes
2answers
2k views

ISPConfig 3 SSL automatic rewrite

I was wondering how you could get apache2 to redirect http://server.com:8080 to https://server.com:8080 - I have an ISPConfig 3 setup and the http://server.com:8080 virtual host currently prints a 400 ...
0
votes
1answer
112 views

Mirroring my website through a secure subdomain

Attempting to get my site to comply with the limitations of an edge content delivery network, I have been forced to push my security certificate root from https://www.mysite.com to the subdomain ...
1
vote
2answers
248 views

Why does this cause my site to redirect to secure.secure.*root domain*.com?

I am recreating my question from Stack Overflow because this is actually the more appropriate place to ask this question. The original question is below. Here is the rewrite rule I am using: ...
0
votes
1answer
103 views

Redirecting all request to a specific folder, works except for SSL doesn't?

I have a folder on my server called john. Inside this folder is an application I am working on. I have a self signed cert installed. if I go to https://mydomain.com/john/signin it works. I have an ...
0
votes
1answer
37 views

Mod Rewrite, moving a website with rules

I have a few sites that I want to move to a development server that all have hard coded values that look for static files at /. Is it possible if I read the HTTP_REFERER variable to reveal ...
0
votes
1answer
259 views

how can i tell if original requests are secure or unsecured using lighttpd infront of play framework?

My system is running the play framework through lighttpd. I need to know if the requests that are coming from Facebook are from https or http. Two questions: Is there any way that I can tell in my ...
0
votes
1answer
64 views

mod_rewrite and Apache questions

We have an interesting situation in relation to some help desk software that we are trying to setup. This is a web based software application that allows customers and staff to log into it and access ...
0
votes
1answer
76 views

Redirecting URLs with mod_rewrite

I am trying to setup a website where we would like to redirect the URL for a couple of different cases. The cases are below: If port 80 then force port 443 If URL = support.example.com then force ...
0
votes
2answers
4k views

Apache: rewrite port 80 and 443 - multiple SSL vhosts setup

SETUP: multiple SSL domains are configured on a single IP, by using vhosts with different port numbers (on which Apache listens) Apache 2.2.8 on Windows 2003 (no comments on this pls) too many ...
2
votes
2answers
575 views

mod_rewrite redirect from SSL to HTTP not working

I want to use mod_rewrite to ensure that certain pages are served with SSL and all others normally, but I am having trouble getting it to work This works (redirect to SSL when request uri is for ...
0
votes
2answers
1k views

Lighttpd mod_rewrite and SSL

I'm trying to prevent the search engines from crawling through SSL version of the site, to prevent content duplication and canonization issues. I found the following great article: ...
0
votes
1answer
445 views

SSL ProxyPass for REST API requests

A production server uses a lot of AJAX calls and is on a different domain from the REST API server and so ProxyPass has been used successfully in httpd.conf to enable communication. There's now a ...
0
votes
2answers
910 views

How to force the use of SSL for some URL of my Django Application?

I want to be sure that for some URL of my website, SSL will be use. I saw a lot of answer already on SO. http://stackoverflow.com/questions/724968/force-redirect-to-ssl-for-all-pages-apart-from-one ...
0
votes
1answer
2k views

Setting up Wildcard subdomain (with reverse proxy) on apache 2.2.3

Hey All, What I am trying to achieve is the following: I want to have numerous subdomains such as abc.domain.com redirect to a url such as www.domain.com/something?subdomain=abc Since I am ...