SID-01022: Configure HTTP_HOST error
Status: |
Answered |
TWiki version: |
5.0.0 |
Perl version: |
Perl 5.8.8 |
Category: |
CategoryError |
Server OS: |
Centos 5.5 x64 |
Last update: |
13 years ago |
Hi, I built my wiki with an internal address until I migrated it externally. I got most of the configuration changed over properly, but when I access my server from the outside, it redirects me to the internal address. When I go into my twiki configuration, I get an error that
"Warning: Current setting does not match HTTP_HOST" My.Twiki.internal.host.
Just below it lists
{DefaultUrlHost} My.Twiki.external.host
Where would I find this configuration file to make the change?
thanks
--
MarcLeveille - 2010-11-10
Discussion and Answer
Check
{DefaultUrlHost}
and
{PermittedRedirectHostUrls}
in
twiki/lib/LocalSite.cfg
.
You should be able to change those settings in configure (web interface) as well.
--
PeterThoeny - 2010-11-10
--
MarcLeveille - 2010-11-10
Thanks, I just noticed in my httpd.conf file that in my Virtual hosts section, I had not changed my section for my redirector to https. So Twiki was seeing the default host ok, but my redirector was taking it somewhere else (my internal wiki address.
thanks
--
MarcLeveille - 2010-11-10
So closed? If not, re-open with more details.
--
PeterThoeny - 2010-11-10
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.