Re: [MarkLogic Dev General] Create Http Server Tutorial

2015-06-05 Thread Martin Vollmix
Hi Sebastien, No Proxy. I disabled my firewall –temporarily - for testing and it still does not work as expected. Seems to not to be an issue with the firewall. More Hints? Thanks Martin Von: general-boun...@developer.marklogic.com

[MarkLogic Dev General] Create Http Server Tutorial

2015-06-05 Thread Martin Vollmer (hotmail)
Dear MarkLogic Devs, I started to create a http Server in MarkLogic 8 on Windows exactly following the steps in here: http://docs.marklogic.com/guide/getting-started/xquery#id_70912 But when I try to call the xqy Files via http://localhost:8005/Test/load.xqy I always get a 404. I tried

Re: [MarkLogic Dev General] Create Http Server Tutorial

2015-06-05 Thread Martin Vollmix
Hi Raja, the modules location is filesystem, as described in the Tutorial. Best Regards Martin Von: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] Im Auftrag von rajamani.marimu...@cognizant.com Gesendet: Freitag, 5. Juni 2015 09:41 An:

Re: [MarkLogic Dev General] Configuring SSL / https for appserver - reg.,

2015-06-05 Thread Geert Josten
Hi Santhosh, If you created a template yourself, you should be able to go to the status of that template, and use the import button there to upload the certificate. Cheers, Geert From: santhosh.rajasekar...@cognizant.commailto:santhosh.rajasekar...@cognizant.com

Re: [MarkLogic Dev General] Create Http Server Tutorial

2015-06-05 Thread Rajamani.Marimuthu
Hi Martin, Did u check the modules location : either mentioned filesystem or modules db to store all your application xquery codes . Thanks and regards Raja From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Martin Vollmer (hotmail)

Re: [MarkLogic Dev General] Create Http Server Tutorial

2015-06-05 Thread Sebastien Vigé
Hello, Any firewall / proxy on ? Try to stop fw to see if it is changing the deal. Cheers Sebastien Envoyé de mon iPhone Le 05 Jun 2015 à 09:32, Martin Vollmer (hotmail) voll...@hotmail.com a écrit : Dear MarkLogic Devs, I started to create a http Server in MarkLogic 8 on Windows

Re: [MarkLogic Dev General] Create Http Server Tutorial

2015-06-05 Thread Martin Vollmix
Hi Geert, In the Create http Server Dialog: I just typed in Test like described in the tutorial. I created a Test Directory in C:\Program Files\MarkLogic\Apps as described in the tutorial. In the newly created Test Directory I put the xqy files into this directory Thanks Martin

Re: [MarkLogic Dev General] Create Http Server Tutorial

2015-06-05 Thread Geert Josten
Hi Martin, Maybe the tutorial is a little vague about this, but if the full path of your load.xqy is C:\Program Files\MarkLogic\Apps\Test\load.xqy, then your Root should be Apps/Test, and the http url to it would be http://localhost:8005/load.xqy. I hope that clears things up for you..

Re: [MarkLogic Dev General] Create Http Server Tutorial

2015-06-05 Thread Geert Josten
Hi Martin, What did you specify as Root in your app server, and at which filesystem path did you put your load.xqy? Cheers, Geert From: Martin Vollmer (hotmail) voll...@hotmail.commailto:voll...@hotmail.com Reply-To: MarkLogic Developer Discussion

[MarkLogic Dev General] Configuring SSL / https for appserver - reg.,

2015-06-05 Thread Santhosh.Rajasekaran2
Hi Team, We have to configure one of our Appserver in ML to access it via https. We have a certificate obtained from a certificate authority(COMODO CA Limited). I have to use this certificate for my Appserver to make it work as https. I tried to follow the steps in the

Re: [MarkLogic Dev General] Create Http Server Tutorial

2015-06-05 Thread Martin Vollmix
Hi Geert, I tried various variations on my one, but not this one. Now it works as expected. Thanks for taking care. Maybe the tutorial should be a little bit “less vague” about this. :) Thanks Martin Von: general-boun...@developer.marklogic.com

Re: [MarkLogic Dev General] How to make ML show x-forwarded-for IP address in ML access logs

2015-06-05 Thread David Sewell
xdmp:get-request-header(X-Forwarded-For) ought to do it (if the HTTP server is creating a header with just that spelling; that's what Apache does). We have a function we use to determine the actual source IP address that you might be able to use or adapt: (:~ : Ascertain IP address masked

Re: [MarkLogic Dev General] How to make ML show x-forwarded-for IP address in ML access logs

2015-06-05 Thread David Sewell
Sorry, I didn't answer the question you actually asked... it would probably require a low-level intervention in the MarkLogic code to change what gets written to the access log, no clue about that. Sorry but would be interested to learn there is a solution, David On Fri, 5 Jun 2015, David

[MarkLogic Dev General] How to make ML show x-forwarded-for IP address in ML access logs

2015-06-05 Thread Danny Sinang
Our ML cluster is behind a load balancer, so the source ip address of the ML access logs show the load balancer's IP address. I'm told that the load balancer injects into the http request header the actual client ip address as x-forwarded-for. Is there a way to make ML display the contents of

Re: [MarkLogic Dev General] Create Http Server Tutorial

2015-06-05 Thread Danny Sokolsky
Thanks for pointing that out Martin. What you really want to do is put your application code somewhere outside of where the server is installed. MarkLogic will look relative to the installation directory, but the best practice is to put your code either somewhere else on the filesystem (for