Just to clarify: you can run a reverse proxy and MarkLogic on the same host. 
This is the easiest set-up for development. However, in a production 
environment you’d probably want to separate the proxy/cache and MarkLogic onto 
separate machines for performance and availability.

Justin


On Sep 18, 2011, at 3:42 PM, Betty Harvey wrote:

> Hi Justin:
> 
> This is exactly what I needed|-)!  I will take a look at configuring
> Apache to do this!
> 
> Thanks so much!
> 
> Betty
> 
>> Betty,
>> 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 you’re 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 wouldn’t be visible externally and you’d
>> 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/>.
>> 
>> Justin
>> 
>> 
>> 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.
>>> 
>>> -jh-
>>> 
>>> On Sep 18, 2011, at 2:45 PM, Betty Harvey wrote:
>>> 
>>>> Is there a way to deploy an application within MarkLogic without using
>>>> an
>>>> actual port?  Can the XQuery files reside under Apache?
>>>> 
>>>> Many organizations are blocking the use of both internal and external
>>>> ports.
>>>> 
>>>> If there is the ability to put the XQuery on under a webserver and
>>>> access
>>>> the ML database, is there documentation?  I haven't been able to find
>>>> anytnhing.
>>>> 
>>>> TIA!
>>>> 
>>>> Betty
>>>> 
>>>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>>>> Betty Harvey                         | Phone:  410-787-9200  FAX: 9830
>>>> Electronic Commerce Connection, Inc. |
>>>> [email protected]                    | 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
>>>> [email protected]
>>>> http://developer.marklogic.com/mailman/listinfo/general
>>> 
>>> _______________________________________________
>>> General mailing list
>>> [email protected]
>>> http://developer.marklogic.com/mailman/listinfo/general
>> 
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://developer.marklogic.com/mailman/listinfo/general
>> 
> 
> 
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> Betty Harvey                         | Phone:  410-787-9200  FAX: 9830
> Electronic Commerce Connection, Inc. |
> [email protected]                    | 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
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to