Modifying REMOTE_ADDR in Request-Header

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 3
Joined: 04 Mar 2014, 15:29

Modifying REMOTE_ADDR in Request-Header

16 Jun 2016, 08:15

Hi,

I looking for a code-example to modify the IP-address on incoming requests.

For example the IP-address should be modified like this:

212.82.19.127
to
10.10.19.127

The frist two segments should me replace with "10"

Can anybody help me?

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: Modifying REMOTE_ADDR in Request-Header

29 Jun 2016, 07:24

Hello.

I suppose for security reasons REMOTE_ADDR server variable cannot be altered. If you explain why you may need to edit it maybe I could come up with alternative solution for you.

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 22 guests