1and1 and https redirecting back to localhost
Permalink
I have c5 installed in a subdirectory at 1and1 hosting and just had an ssl cert installed. Everything was working fine before, but now when I try to to go any page using https i get redirected back to my localhost, where I developed my site.
Why would ssl cause this? I can't find any setting in my config file that would cause this.
Does anyone have ssl running with c5 at 1and1 hosting who could help me troubleshoot this?
Why would ssl cause this? I can't find any setting in my config file that would cause this.
Does anyone have ssl running with c5 at 1and1 hosting who could help me troubleshoot this?
I don't have it installed. i did at one point, but uninstalled and have cleared the cache several times since. I just have no idea what would be causing this. here's what's in my htaccess file in the subdir under the root (/ecom) where my test version of c5 is installed. Ultimately, it will live in the root:
DirectoryIndex index.php
AddType x-mapp-php5 .php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ecom/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
# -- concrete5 urls end --
DirectoryIndex index.php
AddType x-mapp-php5 .php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ecom/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
# -- concrete5 urls end --
I called 1an1 and they had me put this in the htaccess file at the root, but it didn't change anything.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(.*\.)*yourdomain.com$ [NC]
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$http://www.yourdomain.com/$1 [R]
I has to be something with my C5 setting, because a created a test.html file in the subdirectory where C5 is, and it loads fine using https.
I just don't understand what change and where i need to make in c5 to get https working.
I should have noted that I do have the ecomerce package installed, but simple "about" pages won't load either.
Any other ideas?
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(.*\.)*yourdomain.com$ [NC]
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$http://www.yourdomain.com/$1 [R]
I has to be something with my C5 setting, because a created a test.html file in the subdirectory where C5 is, and it loads fine using https.
I just don't understand what change and where i need to make in c5 to get https working.
I should have noted that I do have the ecomerce package installed, but simple "about" pages won't load either.
Any other ideas?
If so, try uninstalling clear your cache a couple of times and then reinstall.
Let me know if that solves the issue...
Jon