[jira] [Commented] (OFBIZ-12170) All Links Redirect to An IP Address

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-12170) All Links Redirect to An IP Address

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-12170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280254#comment-17280254 ]

Christen Erika Johnson commented on OFBIZ-12170:
------------------------------------------------

I am running a CentOS 8 cloud server with Apache httpd. There was not an existing tomcat server prior to installing OFBiz but there were some other virtual hosts. In my Apache conf file I have ofbiz set up on 80/8080 and 443/8443  to the domain name but the file only listens on 80/443. 
 
In my start.properties file I changed the host url to my domain name from the default 127.0.0.1. (I didn’t change the start.properties file in build folder, only the other one) And set the ports to force 8080 and 8443. In my security.properties I changed host-headers-allowed to only my domain name.  
 
I installed firewalld and audit. My firewall is set up for public on 8080/8443 and I am using Derby.  I have mod_md installed, mod_ssl, mod_session and I am not using a proxy. 

> 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)