Remove access from one site's virtual host url to other sitesRemove access from one site's virtual host url to other siteshttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1106843332024-03-28T11:18:15Z2024-03-28T11:18:15ZRE: Remove access from one site's virtual host url to other sitesMarta Santoshttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106847102018-08-10T13:45:23Z2018-08-10T13:45:23Z<p>Thank you for your clarification!</p>Marta Santos2018-08-10T13:45:23ZRE: Remove access from one site's virtual host url to other sitesOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106843582018-08-10T11:52:11Z2018-08-10T11:52:11Z<blockquote>
<div class="quote-title">Marta Santos:</div>
<div class="quote">
<div class="quote-content">The problem is that is possible to access
one site from the other's url. Like this: <p>
<a href="http://www.site-one.com/web/site-two">www.site-one.com/web/site-two</a></p></div></div></blockquote>
<p>You can't remove the option for anyone to use these links, unless you
filter the content.</p>
<p>You can however stop serving these URLs and replace them with
redirects to the proper site and URL - e.g. through Apache httpd's
mod_rewrite. <a
href="https://community.liferay.com/blogs/-/blogs/securing-liferay-chapter-3-port-issues-and-http-https">Yet
another reason</a> to have an extra webserver in front of the appserver.</p>
<p>Â </p>Olaf Kock2018-08-10T11:52:11ZRemove access from one site's virtual host url to other sitesMarta Santoshttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106843322018-08-10T11:37:36Z2018-08-10T11:37:36Z<p>Hello everyone,</p>
<p>Â </p>
<p>I have two sites with different virtual hosts</p>
<p>Ex:</p>
<p>
<a href="http://www.site-one.com">www.site-one.com</a></p>
<p>
<a href="http://www.site-two.com">www.site-two.com</a></p>
<p>Â </p>
<p>Â </p>
<p>The problem is that is possible to access one site from the other's
url. Like this:</p>
<p>
<a href="http://www.site-one.com/web/site-two">www.site-one.com/web/site-two</a></p>
<p>Â