[jira] [Comment Edited] (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] [Comment Edited] (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=17289520#comment-17289520 ]

Jacques Le Roux edited comment on OFBIZ-12170 at 2/24/21, 8:39 AM:
-------------------------------------------------------------------

Well,

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.


was (Author: johnchr):
Well,

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.


--
C. Erika Johnson
[hidden email]
[hidden email]
202-253-2081 (direct)
202-800-9736(fax)

* The information contained in this message is proprietary to The Christen
Group, Inc.  and Christen Erika Johnson.  Recipients of this message are to
maintain the confidentiality of the contents and any of its attachments.
The information in this message is intended for the sole use of the named
recipient.  Any unauthorized copying, modification, review, use,
disclosure, or disbursement of this message or any of its attachments is
expressly prohibited. *


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