[
https://issues.apache.org/jira/browse/OFBIZ-12170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17282066#comment-17282066
]
Christen Erika Johnson edited comment on OFBIZ-12170 at 2/9/21, 10:33 PM:
--------------------------------------------------------------------------
I tried that but it didn't work. The issue I am still having is that the html
pages are being written with an ip address that I cannot access from my server.
What I mean by this is, I can view mydomain.com:8443/webtools but if I click
on the login link, it will redirect to an ip address. I can go to
mydomain.com:8443/webtools/control/checkLogin and the login page will show, but
if I fill in any login information or even just click the login button, it
redirects to that same non-hosted ip address. If I visit
mydomain.com:8443/ecommerce, the commerce store loads correctly and I can view
items but if I try to search for an item or click on any link in the menu, it
redirects to the non-hosted ip address. I am looking for a fix that will
instead use the mydomain.com:8443 when making request or writing html pages
instead of that non-hosted ip address. I tried adding a permanent redirect and
I tried a 301 redirect but neither worked. I tried adding an AliasMatch and
that didn't work. I don't know what the problem is?
was (Author: johnchr):
I tried that but it didn't work. The issue I am still having is that the html
pages are being written with an ip address that I cannot access from my server.
What I mean by this is, I can view mydomain.com:8443/webtools but if I click
on the login link, it will redirect to an ip address. I can go to
mydomain:8443/webtools/control/checkLogin and the login page will show, but if
I fill in any login information or even just click the login button, it
redirects to that same non-hosted ip address. If I visit
mydomain.com:8443/ecommerce, the commerce store loads correctly and I can view
items but if I try to search for an item or click on any link in the menu, it
redirects to the non-hosted ip address. I am looking for a fix that will
instead use the mydomain.com:8443 when making request or writing html pages
instead of that non-hosted ip address. I tried adding a permanent redirect and
I tried a 301 redirect but neither worked. I tried adding an AliasMatch and
that didn't work. I don't know what the problem is?
> All Links Redirect to An IP Address
> -----------------------------------
>
> Key: OFBIZ-12170
> URL: https://issues.apache.org/jira/browse/OFBIZ-12170
> Project: OFBiz
> Issue Type: Task
> Affects Versions: 17.12.05
> Environment: CentOS 8
> Reporter: Christen Erika Johnson
> Priority: Major
>
> I have OFBiz set up with a valid URL and it seems as though everything loads
> fine. I have my security.properties file correct, my url.properties file is
> correct and my start.properties files seem correct. When I click on any link
> or the login button I get redirected to an IP address. If I type in the
> valid domain and port with the full address, the page will load but it
> doesn't send correctly when trying to login, or clicking any links. I tried
> adding a redirect to my httpd virtual host and a URL rewrite but neither
> worked. What is the issue and how do I fix it?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)