Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 17:40:59

Author Topic: Hiawathaproxy 127.0.0.1  (Read 3591 times)

0 Members and 1 Guest are viewing this topic.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Hiawathaproxy 127.0.0.1
« on: 2017-05-30, 19:14:34 »
I use WordPress and installed Bulletproof Security. For some reason that plugin is not able to get the server ip address. The plugin display 127.0.0.1 as the server ip.

Code: [Select]
Server|Website IP Address: 127.0.0.1

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: Hiawathaproxy 127.0.0.1
« Reply #1 on: 2017-05-30, 19:30:39 »
By the way, I did asked the plugin creator and they said it might have something to do with Hiawatha server security settings because it blocks similar things that the plugin htaccess codes block.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Hiawathaproxy 127.0.0.1
« Reply #2 on: 2017-05-31, 13:20:33 »
Update to latest version and then run cleanup. After cleanup you will see '/opt/configs/apache/conf/globals/remoteip/conf' if using Apache 2.4.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: Hiawathaproxy 127.0.0.1
« Reply #3 on: 2017-05-31, 18:23:26 »
So  I see this.
Code: [Select]
<IfModule mod_remoteip.c>
<IfVersion >= 2.4>
#RemoteIPInternalProxy 127.0.0.1

#RemoteIPHeader X-Real-IP
#RemoteIPHeader X-Client-IP
</IfVersion>

So I change 127.0.0.1 to my server ip? And do I need to delete (#) for all there?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Hiawathaproxy 127.0.0.1
« Reply #4 on: 2017-05-31, 18:29:45 »
Try remove '#' and then run restart-web.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: Hiawathaproxy 127.0.0.1
« Reply #5 on: 2017-05-31, 18:34:53 »
So remove all 3 # like this without changing the ip?

Code: [Select]
<IfModule mod_remoteip.c>
<IfVersion >= 2.4>
RemoteIPInternalProxy 127.0.0.1

RemoteIPHeader X-Real-IP
RemoteIPHeader X-Client-IP
</IfVersion>

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Hiawathaproxy 127.0.0.1
« Reply #6 on: 2017-05-31, 21:52:11 »
You need testing according your issue.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: Hiawathaproxy 127.0.0.1
« Reply #7 on: 2017-06-01, 05:24:02 »
Ok, so I ended using this.

Code: [Select]
<IfModule mod_remoteip.c>
<IfVersion >= 2.4>
RemoteIPInternalProxy 127.0.0.1

#RemoteIPHeader X-Real-IP
#RemoteIPHeader X-Client-IP
</IfVersion>

By doing that, now, part of the plugin works.

I think I should give you more details. Bulletproof Security have a "maintenance mode" and when setup and have it turn on. I should able to work on my WordPress site seeing it normal and edit it but visitors will see a maintenance page.

But that didn't work. I logged and have my ip address added to the whitelist and I still see the maintenance page as visitors do.

Another issue was that before making this change:
Code: [Select]
<IfModule mod_remoteip.c>
<IfVersion >= 2.4>
RemoteIPInternalProxy 127.0.0.1

#RemoteIPHeader X-Real-IP
#RemoteIPHeader X-Client-IP
</IfVersion>
I was getting 403 error when I clicked the "Preview" button to preview the maintenance page. After that change, I did able to see the preview.

The main issue is still exist which is it still take me to the maintenance page even with me logged in and ip added to whitelist.

If check Bulletproof Security system info then one thing that is not right according to the creator is that the "Server|Website IP Address: 127.0.0.1". It shows the actual server ip.

He said:
Quote
host server/server configuration is breaking BPS MMode
Quote
I assume the Proxy configuration problem still exists where your Proxy is misconfigured in a way that it is not passing processing to your backend like a Proxy should always do normally

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Hiawathaproxy 127.0.0.1
« Reply #8 on: 2017-06-01, 06:57:13 »
Did you run restart-web after update conf file.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: Hiawathaproxy 127.0.0.1
« Reply #9 on: 2017-06-01, 07:05:35 »
Yes, I even reboot too.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: Hiawathaproxy 127.0.0.1
« Reply #10 on: 2017-06-01, 17:37:40 »
+

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Hiawathaproxy 127.0.0.1
« Reply #11 on: 2017-06-01, 18:55:59 »
I am not sure about it. Enable remote_ip make trouble with this forum. So, why I make disable about it.

I didn't found this issue for wordpress. Try check 'Bulletproof Security' to how to find remote ip.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.046 seconds with 23 queries.

web stats analysis