Hi Brad,

Thanks, but our rewrite rules never do something, so maybe we have some bad code ...

Also another option will be to add the original ip as a paramter to the url ...

Anyone has an example or a httpd.conf file with those conditions or more or less ?

Thanks in advance!


Regards,


Raimon Fernandez Sirera
Barcelona


On 10/01/2007, at 20:22, Brad Perkins wrote:

Raimon,

I probably don't have this syntax totally correct but you should be able to grab the client IP using

RewriteCond %{REMOTE_ADDR} ^(.+)$

That condition would imply matching any IP.

-- Brad Perkins

Raimon Fernandez wrote:
Hi,

No, we're not using the approach you're describing.

We want to know if the IP is from our intranet or from outside (internet), we also have cookies/url param to know wich user is logged, that's why we want to know wich IP made the original request.

Thanks!


Raimon

On 10/01/2007, at 18:47, Bill Leddy wrote:


On Jan 10, 2007, at 4:41 AM, Raimon Fernandez wrote:

It works correctly, serving HTTTP and HTTPS pages. But in addition, we need to know which IP the remote client browser is using to connect with 4D_Webserver, in order to allow only one session per user.

Not a direct answer to your question, but just a comment. We have seen instances where the ISP (notably AOL) changes the client IP between requests. You may want to consider using a cookie instead or a session ID in the query string or form.

Kind Regards,

Bill Leddy

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/



_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/



_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to