Forum

Real Ips?

Dayo Akanji
9 November 2010, 20:14

I am looking to replace Apache with Hiawatha as my backend server behind Nginx but just wondering if the security features (bans etc) work with Real IPs (x-forwarded-for). In other words, will it ban the baddy's IP of Nginx's?

Thanks.
Hugo Leisink
10 November 2010, 00:17
If you use the HideProxy option, everyting works the same as without that proxy.
Dayo
10 November 2010, 18:18
Thanks. Got it.

I hit a bit of a wall as it compiles into usr/local/etc on my centos and I want to get it to compile into /etc/ .... where everything else is.

Would be nice to have a configure option. As a stop gap, can you please point to where to edit in configs?.



Hugo Leisink
10 November 2010, 18:43
Use './configure --help' to see all configure options. Take a look at the section that says 'Fine tuning of the installation directories'.
Dayo
11 November 2010, 18:12
Got it .... Thanks!
Dayo
11 November 2010, 18:18
Would it be workable for the stuff under "PREFIX/sbin" to go into "PREFIX/sbin/hiawatha"? In this way, they are all together and I can easily identify hiawatha related stuff from other stuff in there.

I note though that everything else also seem to be just loose in that folder.

Hugo Leisink
11 November 2010, 21:10
Simply specify it via --sbin-dir.
Dayo
13 November 2010, 16:04
Done ... Thanks.

Will now sit and study the conf file.

Thanks again for the help.
This topic has been closed.