<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Redirect is not allowed and other problems</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120001616" />
  <subtitle>Redirect is not allowed and other problems</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120001616</id>
  <updated>2026-04-04T04:59:32Z</updated>
  <dc:date>2026-04-04T04:59:32Z</dc:date>
  <entry>
    <title>RE: RE: Redirect is not allowed and other problems</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121239214" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121239214</id>
    <updated>2021-11-09T18:15:57Z</updated>
    <published>2021-11-09T18:15:56Z</published>
    <summary type="html">&lt;p&gt;Hi Danielly, it looks like you'll find these settings in 7.4  at
  System Settings &amp;gt; Content and Data &amp;gt; Pages &amp;gt; Redirect URLs.&lt;/p&gt;
&lt;p&gt;
  &lt;img alt="" src="/documents/14/0/redirect-settings.png/35445d87-3272-6587-2c19-6c4ca4304835?t=1636481725802&amp;amp;imagePreview=1" /&gt;
  &lt;br /&gt;  &lt;/p&gt;</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2021-11-09T18:15:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: Redirect is not allowed and other problems</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121238705" />
    <author>
      <name>Danielly Sorato</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121238705</id>
    <updated>2021-11-09T17:57:30Z</updated>
    <published>2021-11-09T11:10:40Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Does someone know how to solve this issue in Liferay 7.4? I'm having
  this exact same error, but it seems that
    &lt;strong&gt;redirect.url.security.mode &lt;/strong&gt;and&lt;strong&gt;
    redirect.url.domains.allowed &lt;/strong&gt;​​​​​​​properties are
  deprecated in Liferay 7.4, so I'm not sure how to solve it.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;</summary>
    <dc:creator>Danielly Sorato</dc:creator>
    <dc:date>2021-11-09T11:10:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: Redirect is not allowed and other problems</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120007678" />
    <author>
      <name>JAVIER CACERES GONZALEZ</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120007678</id>
    <updated>2020-09-26T17:56:27Z</updated>
    <published>2020-09-26T17:56:27Z</published>
    <summary type="html">It is just a test. &lt;br /&gt;I will configure as you said in production env.&lt;br /&gt;Thank you very  much again.</summary>
    <dc:creator>JAVIER CACERES GONZALEZ</dc:creator>
    <dc:date>2020-09-26T17:56:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: Redirect is not allowed and other problems</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120003134" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120003134</id>
    <updated>2020-09-25T17:07:44Z</updated>
    <published>2020-09-25T17:07:44Z</published>
    <summary type="html">I hope this is just some internal testsystem. Please note that this setting is there for a reason, redirects to unknown hosts are pretty dangerous from a security point of view. It is far better to configure a correct list of your hosts or maybe your company domain. Allowing all *.com URLs completely defeats the purpose of this setting.&lt;br /&gt;And you are right, the answer is no, since it is IP or domain.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-09-25T17:07:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: Redirect is not allowed and other problems</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120002714" />
    <author>
      <name>JAVIER CACERES GONZALEZ</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120002714</id>
    <updated>2020-09-25T12:26:16Z</updated>
    <published>2020-09-25T12:26:16Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi Christoph,&lt;br&gt;Good news. It seems all problems have been fixed magically and the warning message has disapeared.&lt;br&gt;I've changed the configuration as you said and I've allowed all domains and subdomains for all virtual instances:&lt;pre&gt;&lt;code&gt;redirect.url.security.mode=domain
redirect.url.domains.allowed=*.com,*.*.com&lt;/code&gt;&lt;/pre&gt;It seems it's working fine ;)&lt;br&gt;Now the problem is when I try to access to the server directly with its IP: the same warning problem but now its assumible.&lt;br&gt;Could we allow both of them? I suppose the response is "no, it is not" because we need to specify "ip" or "domain".&lt;br&gt;As I said, thank you ery much for your help.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>JAVIER CACERES GONZALEZ</dc:creator>
    <dc:date>2020-09-25T12:26:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: Redirect is not allowed and other problems</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120002369" />
    <author>
      <name>JAVIER CACERES GONZALEZ</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120002369</id>
    <updated>2020-09-25T11:59:30Z</updated>
    <published>2020-09-25T11:59:30Z</published>
    <summary type="html">Thank you very much for your quick response Christoph.I will try it and I&amp;#39;ll let you you the result.Have a nice day.Javier</summary>
    <dc:creator>JAVIER CACERES GONZALEZ</dc:creator>
    <dc:date>2020-09-25T11:59:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Redirect is not allowed and other problems</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120001974" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120001974</id>
    <updated>2020-09-25T11:45:17Z</updated>
    <published>2020-09-25T11:45:17Z</published>
    <summary type="html">You should update those properties to allow your domain name(s).&lt;br /&gt;&lt;strong&gt;redirect.url.security.mode=domain&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;redirect.url.domains.allowed=yourdomain.com,yourseconddomain.com,...&lt;/strong&gt;&lt;br /&gt;Note: To allow all subdomains of a domain, just write: *.yourdomain.com&lt;br /&gt;I am not sure if the second issue with the permissions is related.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-09-25T11:45:17Z</dc:date>
  </entry>
  <entry>
    <title>Redirect is not allowed and other problems</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120001615" />
    <author>
      <name>JAVIER CACERES GONZALEZ</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120001615</id>
    <updated>2020-09-25T11:12:52Z</updated>
    <published>2020-09-25T11:12:52Z</published>
    <summary type="html">Dear all,&lt;br /&gt;I’m receiving this warning messages in my second Liferay virtual instance:&lt;br /&gt;&lt;strong&gt;2020-09-24 08:00:52.333 WARN [ajp-nio-127.0.0.1-8009-exec-6][PortalImpl:1036] Redirect URL https://.. ?p_p_id=com_liferay_login_web_portlet_LoginPortlet&amp;amp;p_p_lifecycle=0&amp;amp;p_p_state=normal&amp;amp;p_p_state_rcv=1 is not allowed&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;Also I have more problems:&lt;br /&gt;1. The navigation around the portal is not fine in diferent situations.&lt;br /&gt;2. Back buttons don’t work properly.&lt;br /&gt;3. I have problems with permissions and I’m the root. For example, I receive “You don’t have enought privileges to do … “ when I change the styles for a portlet.&lt;br /&gt;&lt;br /&gt;I’ve checked all liferay properties and it seems they are ok: &lt;br /&gt;&lt;strong&gt;redirect.url.security.mode=ip&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;redirect.url.domains.allowed=&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;redirect.url.ips.allowed=127.0.0.1,SERVER_IP&lt;/strong&gt;&lt;br /&gt;It seems this is known issue: &lt;a href="https://help.liferay.com/hc/es/articles/360033277192-Errores-en-el-archivo-de-log-del-tipo-Redirect-URL-is-not-allowed-y-otros-s%C3%ADntomas-aleatorios"&gt;https://help.liferay.com/hc/es/articles/360033277192-Errores-en-el-archivo-de-log-del-tipo-Redirect-URL-is-not-allowed-y-otros-s%C3%ADntomas-aleatorios&lt;/a&gt;&lt;br /&gt;&lt;a href="https://help.liferay.com/hc/es/articles/360033277192-Errores-en-el-archivo-de-log-del-tipo-Redirect-URL-is-not-allowed-y-otros-s%C3%ADntomas-aleatorios"&gt;&lt;/a&gt;Do you know how to fix all these problems? I’m using Liferay 7.3.3.&lt;br /&gt;Thank you very much for your time.&lt;br /&gt;Kind regards,</summary>
    <dc:creator>JAVIER CACERES GONZALEZ</dc:creator>
    <dc:date>2020-09-25T11:12:52Z</dc:date>
  </entry>
</feed>
