base_url and SSL

Permalink
Hi everyone :)

Is there a way to disable base_url in some ways, or can someone tell how do I go about redirecting
http : //www. mysite. com
to
https :// www. mysite. com
? .htaccess doesn't seem to be working O:

Adlina
View Replies:
andrew replied on at Permalink Reply
andrew
You can add

<?php
define('REDIRECT_TO_BASE_URL', false);
?>


in config/site.php

There are a few more advanced options like this listed here:

http://www.concrete5.org/index.php?cID=2891...
lab3 replied on at Permalink Reply
lab3
I have an addon domain that is not redirecting properly. I placed the code suggested and it did not work. I received an error that said "Page not found" and had a missing icon for Concrete5 in the upper left corner of the window.

Since this addon domain is in a folder off the root of the primary domain, hwo do I configure the site.php file to point to this location?

Example:
Primary site is my-host.com
Addon site is another-host.com

in the "public_html" folder of my-host.com is a folder "another-host". When a user browses to another-host.com, it should go to that folder and pull up the website. Also, I don;t want the person browsing to know it is hosted under my-host.com.

I tried modifying the /home/myhost/public_html/another-host/config/site.php file several different ways, but can't seem to get it to work. Either I get a blank screen, or the error mentioned above. If I browse towww.www.my-host.com/another-host,... everything works.

Any ideas?
glockops replied on at Permalink Reply
glockops