<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Moving files to production environment - Resolving url in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108077#M75746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;guhann,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to serve content directly from an Alfresco repository,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it's very easy to present a pretty-looking URL to the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;outside world for a particular sandbox using Apache 2's &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reverse proxy feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, suppose we have a sandbox for the user alice&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;within the web project "mysite", which is hosted by a virt server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on port 8180 of a machine who's IP address is 192.168.1.5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Normally, you'd access it via your browser using URL looking something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/" rel="nofollow noopener noreferrer"&gt;http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead though, suppose we what this to appear to the outside world as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://example.com/" rel="nofollow noopener noreferrer"&gt;http://example.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All you'd need to do is set up Apache2 as a reverse proxy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on example.com that fetches its real data from the virt server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On example.com, your Apache2 config would look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ProxyRequests off&lt;BR /&gt;ProxyPass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;nbsp; &lt;A href="http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/" rel="nofollow noopener noreferrer"&gt;http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/&lt;/A&gt;&lt;BR /&gt;ProxyPassReverse&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;nbsp; &lt;A href="http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/" rel="nofollow noopener noreferrer"&gt;http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Now, suppose a user in the outside world goes to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://example.com/moo/cow.html" rel="nofollow noopener noreferrer"&gt;http://example.com/moo/cow.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What happens is Apache 2 on example.com fetches data from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/moo/cow.html" rel="nofollow noopener noreferrer"&gt;http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/moo/cow.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That data is then served back to the user. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The idea is that you can hide a backend server (i.e.: the virt server)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;behind a front end&amp;nbsp; (i.e.: apache2), and the end user's browser will&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;never know.&amp;nbsp;&amp;nbsp; Thus you can make the URLs look however you wish.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Typically, you'd do this for staging sandbox, not a user sandbox,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so instead our config might look more like this in the real world:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ProxyRequests off&lt;BR /&gt;ProxyPass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;nbsp; &lt;A href="http://mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/" rel="nofollow noopener noreferrer"&gt;http://mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/&lt;/A&gt;&lt;BR /&gt;ProxyPassReverse&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;nbsp; &lt;A href="http://mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/" rel="nofollow noopener noreferrer"&gt;http://mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Once you get your mind around configuring Apache2,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;there's a lot of power here!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Cheers!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; -Jon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll put this in the virtualization server FAQ.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2007 06:10:39 GMT</pubDate>
    <dc:creator>jcox</dc:creator>
    <dc:date>2007-07-26T06:10:39Z</dc:date>
    <item>
      <title>Moving files to production environment - Resolving url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108070#M75739</link>
      <description>Hi,Now i have my files ready. I dont have a clear idea about moving the files to the production enivornment/deployment process.I just want this cms application to be used by editors, the website content should be viewable to the public in some url like http://www.src.ukIn sandbox im getting this url</description>
      <pubDate>Wed, 18 Jul 2007 11:28:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108070#M75739</guid>
      <dc:creator>guhann</dc:creator>
      <dc:date>2007-07-18T11:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Moving files to production environment - Resolving url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108071#M75740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The virtualization server and it's dynamically-assigned URLs (to create preview contexts for your site / app) are not intended to be used in the run-time environment.&amp;nbsp;&amp;nbsp; They are for use in the authoring server only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In 2.0.1 Enterprise, a snapshot of Staging in a Web Project can be deployed to a remote Alfresco server (or many) which serve as your run-time content delivery repository.&amp;nbsp; This run-time server could be mapped as a network drive, which your app resources (code and content) served directly off CIFS, or, in the more typical case, your app code fetched via CIFS but content sourced via APIs from the Alfresco repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In 2.1.0 Community RC2 (target this Friday), we introduce the compatible notion of deployment of a specified set of directories to one or more file-servers.&amp;nbsp; In 2.1.0 RC2, your application code (and perhaps certain large file types like videos) are to be deployed to the file-system for use by your app server, with the web project content deployed to the run-time repo (which is now indexed for search).&amp;nbsp; In 2.1.0 Community then, you can also separate your app tier from the Alfresco repo tier from Alfresco's own underlying DB tier.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In either case, the system is designed to support any run-time environment (even non-Java ones like PHP, which, although not supported by the virt server for dynamic in-context preview and requiring hand configuration of separate preview environments for each sandbox, can still be fully managed, deployed, and hosted from Alfresco).&amp;nbsp; And in that run-time environment, however you wish to name your map your site URLs should be entirely up to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll be providing a primer for this along with our 2.1.0 Enterprise release some weeks after our upcoming RC2 Community build.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 20:55:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108071#M75740</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-07-18T20:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Moving files to production environment - Resolving url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108072#M75741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for that… My understanding is that&amp;nbsp; the cds pages are launched in a separte server like apache(and we provide url of our wish).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the content management part we need to map the alfresco repository(AVM) with that apache folder structure, so that changes done in alfresco will get reflected in the apache folders and the files are served from webserver apache.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Guhan N&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 06:43:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108072#M75741</guid>
      <dc:creator>guhann</dc:creator>
      <dc:date>2007-07-20T06:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Moving files to production environment - Resolving url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108073#M75742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Guhann:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the directory structure contained within your web project should correspond to the directory structure you wish to sit under your run-time web server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, the pre-pending path we have while those assets are in alfresco (the path to the web project and sandbox and root directory) get "thrown-away" when you push using our FS deployment mechanism.&amp;nbsp; You map your root dir to any remote dir, and for all intents and purposes, anyone looking at your run-time environment wouldn't even suspect that Alfresco managed and deployed those assets at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 10:19:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108073#M75742</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-07-20T10:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Moving files to production environment - Resolving url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108074#M75743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in apache webserver conf/httpd file if i change the below path&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to the path where im having the CIFS shared avm repository then it will work perfectly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ie.) "z:/AVM/DATA……"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 12:24:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108074#M75743</guid>
      <dc:creator>guhann</dc:creator>
      <dc:date>2007-07-20T12:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Moving files to production environment - Resolving url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108075#M75744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried that … i can't able to start the apache webserver if i change the directory to remote directory like "z:/ROOT" . Is that possible to set the root directory like z:/ROOT i.e)other than the apache webserver directories?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have my apache webserver directory under c:/programfiles/apache…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Guhan N&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 12:56:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108075#M75744</guid>
      <dc:creator>guhann</dc:creator>
      <dc:date>2007-07-20T12:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Moving files to production environment - Resolving url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108076#M75745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;can anyone help me on this???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;setting up the root directory…………… how should i use the url there&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;whether need to mention the machinename / mapped drive(Z:/) is enough…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not at all working for me…..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 12:27:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108076#M75745</guid>
      <dc:creator>guhann</dc:creator>
      <dc:date>2007-07-25T12:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Moving files to production environment - Resolving url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108077#M75746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;guhann,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to serve content directly from an Alfresco repository,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it's very easy to present a pretty-looking URL to the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;outside world for a particular sandbox using Apache 2's &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reverse proxy feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, suppose we have a sandbox for the user alice&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;within the web project "mysite", which is hosted by a virt server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on port 8180 of a machine who's IP address is 192.168.1.5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Normally, you'd access it via your browser using URL looking something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/" rel="nofollow noopener noreferrer"&gt;http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead though, suppose we what this to appear to the outside world as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://example.com/" rel="nofollow noopener noreferrer"&gt;http://example.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All you'd need to do is set up Apache2 as a reverse proxy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on example.com that fetches its real data from the virt server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On example.com, your Apache2 config would look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ProxyRequests off&lt;BR /&gt;ProxyPass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;nbsp; &lt;A href="http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/" rel="nofollow noopener noreferrer"&gt;http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/&lt;/A&gt;&lt;BR /&gt;ProxyPassReverse&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;nbsp; &lt;A href="http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/" rel="nofollow noopener noreferrer"&gt;http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Now, suppose a user in the outside world goes to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://example.com/moo/cow.html" rel="nofollow noopener noreferrer"&gt;http://example.com/moo/cow.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What happens is Apache 2 on example.com fetches data from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/moo/cow.html" rel="nofollow noopener noreferrer"&gt;http://alice.mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/moo/cow.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That data is then served back to the user. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The idea is that you can hide a backend server (i.e.: the virt server)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;behind a front end&amp;nbsp; (i.e.: apache2), and the end user's browser will&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;never know.&amp;nbsp;&amp;nbsp; Thus you can make the URLs look however you wish.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Typically, you'd do this for staging sandbox, not a user sandbox,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so instead our config might look more like this in the real world:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ProxyRequests off&lt;BR /&gt;ProxyPass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;nbsp; &lt;A href="http://mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/" rel="nofollow noopener noreferrer"&gt;http://mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/&lt;/A&gt;&lt;BR /&gt;ProxyPassReverse&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;nbsp; &lt;A href="http://mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/" rel="nofollow noopener noreferrer"&gt;http://mysite.www--sandbox.192-168-1-5.ip.alfrescodemo.net:8180/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Once you get your mind around configuring Apache2,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;there's a lot of power here!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Cheers!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; -Jon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll put this in the virtualization server FAQ.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 06:10:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108077#M75746</guid>
      <dc:creator>jcox</dc:creator>
      <dc:date>2007-07-26T06:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Moving files to production environment - Resolving url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108078#M75747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for that……………&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works great !!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in httpd file i removed the comments for the below proxy modules,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LoadModule proxy_module modules/mod_proxy.so&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LoadModule proxy_ajp_module modules/mod_proxy_ajp.so&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LoadModule proxy_balancer_module modules/mod_proxy_balancer.so&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LoadModule proxy_connect_module modules/mod_proxy_connect.so&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LoadModule proxy_http_module modules/mod_proxy_http.so&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LoadModule proxy_ftp_module modules/mod_proxy_ftp.so&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and added reverse proxy as u mentioned above…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything is working fine. Hope i can go with this logic itself in production instead of using CIFS. Any suggestions/advice to share with this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 09:39:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108078#M75747</guid>
      <dc:creator>guhann</dc:creator>
      <dc:date>2007-07-26T09:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Moving files to production environment - Resolving url</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108079#M75748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Guhann,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the feedback !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The thing you've got to assess for yourself is performance and scalability.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are many ways to measure this, and many different kinds of load&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;your site might experience depending upon the nature of your content,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and the pattern of use experienced by the site.&amp;nbsp;&amp;nbsp; Some sites are very&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bandwidth heavy, some demand more CPU and/or memory, some tend&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to get more bursts of activity from users than others, and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are some things to consider:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;HTTP caches can make a &lt;STRONG&gt;dramatic&lt;/STRONG&gt; difference&lt;/LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;UL&gt;&lt;LI&gt;Be sure you understand &lt;A href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html" rel="nofollow noopener noreferrer"&gt;caching in HTTP&lt;/A&gt;.&lt;/LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;LI&gt;Apache2 has&amp;nbsp; &lt;A href="http://httpd.apache.org/docs/2.0/mod/mod_cache.html" rel="nofollow noopener noreferrer"&gt;mod_cache&lt;/A&gt; but there are &lt;A href="http://www.web-cache.com/products.html" rel="nofollow noopener noreferrer"&gt;alternatives&lt;/A&gt;.&lt;/LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;LI&gt;Use URLs consistently (i.e.: same content == same url, when possible)&lt;/LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;LI&gt;Avoid replacing files on update when contents have not changed.&lt;/LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;LI&gt;Prefer GET over POST&amp;nbsp; (some caches don't store POST responses)&lt;/LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;LI&gt;Limit cookie use to dynamic pages&lt;/LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;LI&gt;Avoid embedding user info in URLs&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;Horizontal scaling.&amp;nbsp; For example, see: &lt;A href="http://www.backhand.org/ApacheCon2001/US/backhand_course_notes.pdf" rel="nofollow noopener noreferrer"&gt;mod_backhand&lt;/A&gt;&lt;/LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;LI&gt;The features/performance trade-off of using AVM versus deploying to&amp;nbsp; native file system&lt;/LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;LI&gt;Separation of development environment from live environment&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;The last two points are probably worth discussing in more detail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;While serving content directly out of an Alfresco AVM instance will offer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you a wider set of features, nothing is going to beat the performance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of deploying your webapp to a native file system and serving content&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;directly off of that (e.g.:&amp;nbsp; on UNIX, an ext3 file system, on NT, NTFS).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whether you want to serve content out of the AVM directly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or off of a native file system, I strongly advise you to make&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;your entire live/customer-facing infrastructure totally independent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of the one you're using for development&amp;nbsp; (by that I mean machines,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;processes, databases, disks, and ideally different subnet too).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The idea here is to make it so no matter how hard users or developers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pound on things,&amp;nbsp; no matter what security issues arise, what network&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;traffic is generated,&amp;nbsp; or what sort of&amp;nbsp; maintenance/upgrade/reboot&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;shenanigans are necessary from time to time, doing something&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to one system does not effect the other in any way. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are going to serve content directly out of the AVM, caching&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;might be more important.&amp;nbsp;&amp;nbsp;&amp;nbsp; There are so many variables when it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;comes to this stuff that the best advice is to test with a realistic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;load, measure, tune, and experiment with the many options available&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to you.&amp;nbsp;&amp;nbsp; Once you've done that, throw your system some curve-balls&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;such as alternating periods of quiescence and high load,&amp;nbsp; long sustained&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;periods of activity,&amp;nbsp; lots of simultaneous requests, fewer but heavy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;requests, and so forth.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A lot of how paranoid you've got to be depends on the sheer scale&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of what you are doing, the audience you're serving, and your site's &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;technical &amp;amp; business requirements.&amp;nbsp; Therefore, I can't really provide&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"one size fits all" advice, but hopefully the ideas I've discussed here&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are still interesting &amp;amp; useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know how it goes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Jon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 16:38:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moving-files-to-production-environment-resolving-url/m-p/108079#M75748</guid>
      <dc:creator>jcox</dc:creator>
      <dc:date>2007-07-26T16:38:37Z</dc:date>
    </item>
  </channel>
</rss>

