[MarkLogic Dev General] Deployment without ports question?
harvey at eccnet.com
Sun Sep 18 15:42:11 PDT 2011
This is exactly what I needed|-)! I will take a look at configuring
Apache to do this!
Thanks so much!
> As Jason indicated, you need to listen on some port to handle external
> requests. For example, by default, browsers ask for port 80. Some
> organizations have firewall rules that prevent external requests on
> non-standard ports. Is this what youre bumping into?
> You can run a MarkLogic HTTP server on port 80. We also have many
> customers that deploy MarkLogic behind a web server or cache that handles
> external requests. You might take a look at a reverse proxy (mod_proxy can
> do this with Apache). With a reverse proxy, your users can make a request
> to example.com (on the default port 80) but have the request handed off to
> a MarkLogic HTTP app server on another host listening on a different port,
> such as internal.my-company.com:5512. In this set-up, the hostname and
> port of the MarkLogic instance wouldnt be visible externally and youd
> only need to keep port 80 open externally on the example.com machine. Most
> reverse proxies can do a host of additional logic, such as routing
> requests from a mobile device to a different host, fronting several
> domains and sub-domains simultaneously, or caching requests to reduce the
> actual work MarkLogic has to do. Popular tools with reverse proxy
> capabilities include Apache
> <http://httpd.apache.org/docs/2.0/mod/mod_proxy.html>, Varnish
> <https://www.varnish-cache.org/>, Squid <http://www.squid-cache.org/>,
> nginx <http://nginx.net/>, and haproxy <http://haproxy.1wt.eu/>.
> On Sep 18, 2011, at 2:53 PM, Jason Hunter wrote:
>> Hi Betty,
>> If you have a MarkLogic instance and it's not listening on any ports,
>> it's like a tree that falls in the woods with no one to hear it. :)
>> I'm confused by what you're asking. How would you deploy an application
>> without using a port? To deploy an online service (MarkLogic or
>> otherwise) is defined as putting it on a port.
>> On Sep 18, 2011, at 2:45 PM, Betty Harvey wrote:
>>> Is there a way to deploy an application within MarkLogic without using
>>> actual port? Can the XQuery files reside under Apache?
>>> Many organizations are blocking the use of both internal and external
>>> If there is the ability to put the XQuery on under a webserver and
>>> the ML database, is there documentation? I haven't been able to find
>>> Betty Harvey | Phone: 410-787-9200 FAX: 9830
>>> Electronic Commerce Connection, Inc. |
>>> harvey at eccnet.com | Washington,DC XML Users Grp
>>> URL: http://www.eccnet.com | http://www.eccnet.com/xmlug
>>> Member of XML Guild (www.xmlguild.org)
>>> General mailing list
>>> General at developer.marklogic.com
>> General mailing list
>> General at developer.marklogic.com
> General mailing list
> General at developer.marklogic.com
Betty Harvey | Phone: 410-787-9200 FAX: 9830
Electronic Commerce Connection, Inc. |
harvey at eccnet.com | Washington,DC XML Users Grp
URL: http://www.eccnet.com | http://www.eccnet.com/xmlug
Member of XML Guild (www.xmlguild.org)
More information about the General