Martin Brändle Posted February 1, 2005 Posted February 1, 2005 Hi all, it seems that the client-ip param in FMS7A XSLT does not work properly. According to the Custom Web Publishing Guide on p. 56, it should return the IP address of the web client. However, I always get as result the IP address of our web server, and therefore can not use it as a filter. We have here a double server setup, one server is the database server, the other the web and web publishing engine server. It might be that on a single server (db+wpe+web) the behaviour is correct. Therefore I have prepared a small test (see attachment), would you be willing to install it either in a Mac OS X or a Windows setting, and report the results here? If it's a bug, I can send a feedback via FSA to FileMaker. Many thanks for your help, Martin test.zip
cjaeger Posted February 1, 2005 Posted February 1, 2005 hallo Martin, the web server is sending the request to the db server, so the behaviour of the db server is indeed correct. The web server works like a proxy. Tip: Use an invisible form field and a (php/perl/javascript/..) script which puts $ENV{'REMOTE_ADDR'} in there on your WEB server.
Martin Brändle Posted February 1, 2005 Author Posted February 1, 2005 No, no, <xsl:param name="client-ip"/> is a parameter set by the web publishing engine and should reflect the IP address of the web client, not the web server. It's the replacement for the former [FMP-ClientAddress] and [FMP-ClientIP] CDML tags in FM6. I know that I can filter IP accesses directly in my Apache configuration file or by .htaccess . However, if FileMaker documents <xsl:param name="client-ip"/> giving the client address, it should do so. Martin
sai Posted October 24, 2005 Posted October 24, 2005 Hi Martin, Sorry to use your thread. Have you made any progress with is client ip issue? It seems that I have the same problem.
Martin Brändle Posted October 26, 2005 Author Posted October 26, 2005 It seems to work on single CPU machines, or when the second CPU is turned off.
Recommended Posts
This topic is 6966 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now