Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

subdomain and htaccess

Status
Not open for further replies.

DKailen

Technical User
Mar 6, 2010
13
US
Hi everyone,

I have a subdomain and an SSL cert for that sub. Everything is installed and appears to be working properly except I get all sorts of errors about unsecure content. Everything that is being pulled by this page is in the subdomain and the subdomain is supposed to be secure.

I tried adding this to the htaccess:

Code:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^(secure)\. [NC]
RewriteRule (.*) [URL unfurl="true"]https://%{HTTP_HOST}%{REQUEST_URI}[/URL] [R,L]
RewriteRule ^/(.+) [URL unfurl="true"]https://secure.paganhideaway.com/$1[/URL] [R]

Any ideas?

Thanks much
Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top