archive-com.com » COM » E » ENFOLDSYSTEMS.COM

Total: 720

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Caching with EP
    you need to enable a caching policy for CacheFu to work in EP On the first tab you need to choose Enable CacheFu Under Active Cache Policy choose Default Cache Policy or choose another policy You can create one from scratch or clone an existing one by going to the Policy tab On the first tab you will also need to choose a Proxy Cache Purge Configuration choose No Purge zope only or zope behind apache CacheFu will use cache headers different from Chasseur But EP is able to process both of them in fact after you enable CacheFu Chasseur will deactivate all cache profile previously enabled You can specify caching behavior in Plone by deciding which header to use when returning a particular Plone content type To do that go to the Rule tab and select the content type you want Each rule will let you specify a header for anonymous users and a rule for authenticated users Presumably you d want a reduced amount of caching for authenticated users The label for each header Do not Cache Cache in proxy cache for 1 hour Cache in browser for 1 hour etc should be self explanatory Keep in mind that you can also edit properties for each header on the Headers tab at the time of this writing January 2009 a browser bug in Internet Explorer prevents sysadmin users from viewing editing properties on the CachuFu Rules tab This bug does not affect users of Firefox As a result the hyperlinks on the CacheFu configuration page won t work properly you may need to open these hyperlinks in a new browser tab or browser window CMFSquidTool is an open source caching product supported by Enfold which lets you purge cache As long as you set your IP address in Caching Purge Sources see Purging Cache However you may find it easier to use Enfold Proxy to purge cached items for proxy definition s List of HTTP Headers supported by Enfold Proxy See the HTTP Header Reference Guide Enable Cache in your Proxy Definition By default when you create a proxy definition in EP caching is enabled However you might need to change your settings to suit your hardware See a description of each cache setting Enfold Proxy will keep a lot of stale cached files inside the cache directory corresponding to a specific proxy definition These stale cache files will accumulate in the cache directory until it approaches the maximum cache size That is actually a good thing In Chasseur for example a lot of content is cached for one hour After one hour or even after five years whenever the browser requests the same resource EP will check with Plone and ask is this stale item still valid Plone will give one of two responses Either Plone will reply it s still good In this case EP will return the stale item to the browser and update its own records to indicate that this stale cache is now valid This process is called revalidating the cache The HTTP headers to the user will say X Cache HIT from www originalfunsite com Plone will reply Nope That s an outdated version In this case Enfold Server or Plone will send the updated version to Enfold Proxy which will pass it on to the browser and also replace the outdated version with the newer version X Cache MISS from www originalfunsite com Enfold Proxy now has an easy button in its interface to purge cached items for proxy definition s Next Step Verify that Your Cache Settings are in Effect The easiest way to verify your cache settings is to view the Enfold Proxy logs themselves That allows you to see the responses from Plone and also prevents browser issues from misleading you When viewing the Enfold Proxy logs be sure to activate the new Headers log level which is easier to read than typical HTTP headers To verify that caching is taking place from the browser look for this line in your HTTP response header X Cache HIT from www originalfunsite com If you see X Cache HIT then yes Enfold Proxy has sent you a cached version of this content item If you see X Cache MISS then no Enfold Proxy has sent you this content which was not in its cache Generally HIT s indicate successful caching Keep in mind that X Cache MISS is not always a bad thing For example if logged in as an administrator many resources will not be cached on purpose It s best to test as an anonymous web surfer i e someone who is not logged in If an item contains a modification then a MISS reply is mandatory Also object based caching like XSLT caching doesn t modify these headers so EP can be properly caching XSLT pages and still be sending out X Cache MISS headers Careful When testing it s a good idea to use two different browsers In Browser A such as Internet Explorer log in as Admin In Browser B i e Firefox log in as anonymous or as a logged in user It s also important to clear cache the right way and even to close the browser entirely if you don t the http headers you see won t be accurate Consult the troubleshooting checklist for caching To see the HTTP headers directly see Tools for Viewing Headers You should probably pick two or three sample items to check for headers Anything will do but at least one should be a graphic and one should be a Zope page such as http www originalfunsite com events In Chasseur the maximum age is Cache Control max age 3600 X Cache HIT from www originalfunsite com Optimize Cache Settings and Measure Caching Performance See also Caching Goals and Strategies Many of your cache settings can be tweaked in whatever Plone product you are using to cache web items The CacheFu Plone product for example offers

    Original URL path: http://www.enfoldsystems.com/software/proxy/docs/6.1/epcaching.html (2016-02-11)
    Open archived version from archive


  • Purging Cache
    within a Plone caching product like CacheFu or CMFSquidTool include a Python script to purge cache content when an item is republished This topic will discuss the advantages and disadvantages of each method Purge Cache within Enfold Proxy Recommended Enfold Proxy includes a way to purge cache To do this select the Purge option on the left panel of EP s configuration utility By checking or unchecking each proxy definition you can delete the cache for one or multiple proxy definitions Purge a specific URL with Portal Cache Portal cache is a product that comes installed by default on Enfold Server It also comes with the CacheFu suite of products This product visible in the ZMI but not Plone lets you input a specific URL you wish to be cached Keep in mind that this URL will only cache a specific item So if you try to purge www originalfunsite com news it will not purge cache of jpegs or css files used on this web page Instead this request will purge only the contents of that page minus the css jpg gif js files To do this Confirm that the IP address of the requesting machine is explicitly listed in Enfold Proxy Settings Cache Purging Source If your IP address is not listed enter it now Go to the ZMI for your site and open the portal squid tool Located at Plone portal squid Plone Site Setup Zope Management Interface portal squid in right panel near the bottom Follow the instructions for adding a Cache URL Press Save Example http www originalfunsite com In the field for Purge URL Enter the name of the web item relative to the Plone root Example logo jpg Logo jpg is a company logo jpeg that is found on the Plone home page Press Go Here are some responses you could conceivably receive after you press the Go button 404 http www originalfunsite com logo jpg Not cached 200 http originalfunsite com logo jpg Purged 401 http originalfunsite com logo jpg Unauthorized this happens if you are trying to purge when IIS is using NTLM See note above Using cURL for purging cURL http curl haxx se docs manual html is a command line tool for making HTTP requests With cURL you can make the purge request for a specific URL rather than making a global command Just use the command curl X PURGE http host port path to url to be purged This tool is useful for testing and troubleshooting However if you are using a different machine make sure that its IP address you are using to run cURL is listed as a safe address in the Caching Purge Sources field under Settings in EP s configuration utility The PURGEALL command allows you to remove all items in the cache or all items that start with the specified string or if you specify the root of the EP site all items in the cache For example curl X PURGEALL http localhost

    Original URL path: http://www.enfoldsystems.com/software/proxy/docs/6.1/purging.html (2016-02-11)
    Open archived version from archive

  • Cache Headers and Enfold Proxy
    to Headers or Debug For more info see Headers log level Concepts The first time a person makes a request for a content item here is what typically happens At first Enfold Proxy does not have a cachable copy of the item so it must fetch it directly from Plone When an item is received from the backend server it is examined to see if it is cachable that is if it is able to be stored in the cache and used to satisfy future requests for that item Unless Plone includes a special header which specifies that the item is not cachable Enfold Proxy will keep a copy locally on its machine which it can use for responding to future browser requests If the sysadmin purges the cache for the proxy definition then all cached copies are deleted and Enfold Proxy has to start again from scratch After the initial request for a content item here is what typically happens When a client connects to EP and asks for a request EP first checks to see if it is in the cache that is if a previous request for the resource determined that it was cacheable as described above If the item is in the cache the next thing to be determined is if the item is stale A stale item means that although the item is in the cache the parameters for that item indicate that it is no longer allowed to be used directly If an item is fresh then it can be sent back to the client without contacting the backend server However if the item is stale EP can generally validate such items Validating an item consists of connecting to the server and asking the server if the version we fetched before is still the same If the server responds in the affirmative EP is still able to used the previously stale item and although contact was made with the back end server the data itself was not re transmitted It is important to understand the conceptual difference between an item being cachable and an item being fresh It is possible and quite common that a server will send a cachable response but indicate it is immediately stale i e by including a Max Age 0 or an Expires value which is already out of date This means that although EP can store the item in its cache it is not able to use it in client requests without first validating it with the server In this case the end result is that the cache will never serve old items because they are never fresh and require revalidation but bandwidth usage between EP and the backend server will be reduced because Plone won t need to send the content item itself only the 304 message with an updated date stamp HTTP Headers Reference There are a number of HTTP headers used to control caching Headers indicate if the response is cachable at all and if

    Original URL path: http://www.enfoldsystems.com/software/proxy/docs/6.1/cacheheaders.html (2016-02-11)
    Open archived version from archive

  • Caching XSLT
    parsed It is not a copy of what was received from a remote server it is an object in memory which represents the result of some XSLT processing It cannot be purged is unable to have items validated or have any setting overridden per style sheet The contents are lost when EP is stopped All options prefixed with object cache are referring to this cache Important Note XSLT caching is not currently supported on Windows Vista 64 bit Activate and Test XSLT Caching Because XSLT caching is an in memory cache instead of disk based cache the method for verifying that it works is less direct Unlike other cache hits XSLT caching will not give a X Cache HIT message in the host headers nor will it appear in the cache logs You will however be able to see a brief message confirming an xslt cache hit in the proxy log file It looks like this 2008 05 09 15 05 05 062 enfold lxml INFO 2076 3452 XSLT object cache hit for http localhost cdcatalog xsl 2008 05 09 15 05 05 108 enfold lxml INFO 2076 2460 XSLT object cache hit for http localhost cdcatalog xsl For this example you will add an XSL file into Zope so it is stored as an object and a python script which essentially outputs an XML file This example will put cdcatalog xml and cdcatalog xsl into the application root level of the ZMI Use the ZMI to add a python script which you will name cdcatalog xml Follow the same steps that you did for adding a Plone site From the Add dropdown menu in the ZMI select Script Python http localhost 8080 manage For ID type cdcatalog xml Press Save and Edit Copy this XML python script named cdcatalog xml into the edit box and press Save This python script causes a simple XML file to be outputted by Zope Note This is not actually an xml file but a python script to output XML Copy and paste the cdcatalog xsl file You can download the same file here http www w3schools com xsl cdcatalog xsl You might need to change the file extension so that it ends in xsl Use the ZMI to add this xsl file in the same directory as your python script Select File from the Add dropdown menu Give it id cdcatalog xsl and select Browse to find the file on your PC Be sure both objects are in the same directory and accessible The easiest way is to try to access http localhost cdcatalog xml and http localhost cdcatalog xsl Configure your Enfold Proxy settings by manually editing the eep ini file in your C Program Files Enfold Proxy directory Be sure to read the tips for manually editing the eep ini file Important You can enable XSLT caching only by manually editing the eep ini file Here is an example of how your eep ini settings will appear when caching XSLT xslt

    Original URL path: http://www.enfoldsystems.com/software/proxy/docs/6.1/xslt.html (2016-02-11)
    Open archived version from archive

  • FAQ
    sign Second does your proxy definition cause the URL to redirect successfully That suggests that Enfold Proxy is working Third if you run the eep check utility from the Configuration Utility and receive no obvious error that is also a positive sign In general though EP is working whenever the IIS application is turned on If you think you have misconfigured EP you can make a backup copy of the eep ini file in the Enfold Proxy and start from scratch See also the Troubleshooting Checklist How much downtime is required in upgrading Enfold Proxy Generally upgrading Enfold Proxy takes very little time and entails little risk especially if you save a backup copy of eep ini file You should leave IIS running when upgrading but stop restart IIS services via the command line Read upgrading Enfold Proxy How do I disable Enfold Proxy or a proxy definition You can temporarily disable one or more proxy definitions by using the EP configuration tool If you click on a proxy definition on the left panel under basic options on the right panel will be a checkbox Temporarily disable this proxy definition If you check this checkbox this proxy definition will be disabled until you enable it again As stated above Enfold Proxy exists within IIS so it is not possible to start or stop it separately unless you decide to turn IIS off as well If you are stuck or wish to view your Plone IIS site without Enfold Proxy or your proxy definitions the easiest thing to do is to backup the configuration file eep ini to a safe place and delete the normal file That will wipe out the proxy definitions until you copy the eep ini file back Your changes will take effect after you run eep exe This is especially useful for eliminating the possibility of IIS misconfiguration problems What is a proxy definition How is that different from hosts Previous EP versions used the word host instead of proxy definition That caused confusion For this version proxy definition refers to any EP settings for one IIS site which has a unique host header See adding a proxy definition What name should I give to my proxy definition The name you choose for your proxy definition is arbitrary and only appears in the EP configuration tool If I modify a proxy definition in EP when do the changes take place Do they happen automatically It should take effect immediately But you may need to confirm that these changes are reflected in IIS In most cases whenever you save something in EP the affected IIS site will be reconfigured to have these changes Occasionally you may need to restart IIS for these changes to show up How do I back up my configuration settings The easiest way is to copy the eep ini file to a safe place Typically it is located in C Program Files Enfold Proxy directory If this file is not visible be sure you have configured Windows to allow you to see ini files Control Panel Folder Options View and be sure Show Hidden Files is checked For easy restore of your settings you can replace the entire file with your backed up copy or copy the relevant contents into the new file Is it better to use the Proxy Configuration Tool or to edit the config file manually See Configuring EP Manually Generally it is better to use Proxy Configuration tool It reduces the possibility of misconfiguration What is the maximum number of proxy definitions I can set up Generally there is no maximum However the EP configuration utility will become unwieldly if you 10 or more proxy definitions It may be easier to configure the proxy definitions manually by editing the eep ini file See Configuring EP Manually Whatever happened to the virtual plone folder which appeared in IIS after a proxy definition was created A virtual folder named plone used to appear in the IIS Management console after a proxy definition was created This no longer is the case How do proxy logs get rotated Go to EP Configuration utility and choose settings You can set backup count and the maximum file size for each log file See logging options Does EP affect the gathering of web statistics Because EP is simply a filter for IIS the IIS log files should not be affected For this reason any web statistical tool which analyzes IIS log files should provide accurate data Can I use multiple proxy definitions for the same IIS site What restrictions apply Typically an IIS site is associated with a single proxy definition in EP But EP doesn t restrict you from having multiple proxy definitions IIS itself has restrictions regarding how multiple sites can be configured see the IIS docs for details How do I force all Zope Plone logins to be Secure Sockets Layer SSL To force all web accesses for a web domain to be by SSL you need to configure IIS to require SSL login Open IIS right click Default Web Site select Directory Security Secure Communications edit Choose the option Require Secure Channel This assumes that you have already created a new SSL Certificate for the server or imported an existing one read your IIS documentation for how to do that Is EP like Virtual Hosting Monster VHM in Zope EP uses VHM to ensure Zope generates correct references in URLs But EP includes another mode Simple rewrite mode to proxy non Zope requests as well See Simple Rewrite Mode How do I verify that Load balancing is working Load balancing the server load with more than one Zope clients which are configured in Enfold Server or Plone The easiest way to verify that load balancing works is to try access webpages using its management port instead of port 80 such as http localhost 8080 or http www originalfunsite com 9090 In this case you will probably not see the Plone site but the

    Original URL path: http://www.enfoldsystems.com/software/proxy/docs/6.1/faq.html (2016-02-11)
    Open archived version from archive

  • Configuring EP Manually
    topic goes into more detail about best practices for configuring your eep ini file manually Remember that if you only use the EP configuration tool this information will not apply Tips for Editing the eep ini file Vista Windows 7 Users Vista s security model is intended to prevent the user from accidentally writing editing system or configuration files The Encontrol configuration utility will automatically prompt for the necessary elevation of privileges but if you wish to edit this file by hand you will need to do so from a process that is already elevated ie started with Run as Administrator see the Vista documention about how to do that In order to use the configuration file directly go to Start Enfold Proxy Configuration File This file can be edited with any text editor and is laid out like any other Windows INI file Throughout this documentation this image is used to highlight instructions for editing the configuration file Don t forget If you edit eep ini manually you must run eep exe afterwards If you do not your edits may not take effect Most settings are insensitive to case but lines should begin in the left column i e have no leading whitespace unless they are part of a line continuation see section below Except where noted all settings can be changed without restarting IIS however the new options will not be processed until a connection is made to Enfold Proxy If you make a configuration change you should visit the proxy in your browser to ensure the changes have taken effect as expected If your site configuration is quite complex such that your INI file becomes difficult to manage be sure to read the documentation on using variables in configuration files Continuing Long Lines If you maintain the configuration file in a text editor rather than via the UI utility it is possible to split configuration values over multiple lines Simply continue the value on the next line but ensure that line begins with at least one space or tab For example host 1 includes file1 file2 file3 file4 file5 Note that the UI utility may merge the multiple lines back into one when saving Using Variables in Configuration Files Enfold s INI files have a feature that make setting up large configuration files quite simple you can define variables in the INI file and can then refer to these variables in the configuration values In the simplest example let assume you had a large number of excludes to specify One way of doing this is as follows host something jpg files foo jpg bar jpg css files logo css myapp css excludes jpg files s css files s In this example we have defined 2 variables jpg files and css files As these variable names to not match any configuration options used by EP they have no effect on EP itself excludes is an EP option and its value is defined as being the concatenation of 2

    Original URL path: http://www.enfoldsystems.com/software/proxy/docs/6.1/configuringmanually.html (2016-02-11)
    Open archived version from archive

  • IIS & Enfold Proxy
    authentication through Active Directory Instructions about how to configure NTLM authentication are available with Enfold Server You need to choose an authentication profile for Trusted Proxy in Enfold s plasma product Enfold Proxy is not actually involved with providing authentication EP s main job is to translate URLs from Enfold Server Plone and to arrange for cached copies of web resources to be available so IIS doesn t have to keep requesting them from Enfold Server Plone Several things are worth pointing out about this diagram In two cases 2b and 4b Enfold Proxy is returning cached content If you are running a generic version of Plone instead of Enfold Server you will be using cookie based authentication which takes place mainly in Plone Therefore separate requests would have to go to Plone specifically for cookies based login These arrows are not shown here The main goal of Enfold Proxy is to reduce the number of 4A 5 and 6 requests and instead to use as many 2b and 4b requests as possible Print this page Send this page Try Now Enfold Proxy 30 day free trial Download Enfold Proxy 495 per new license or 245 per renewal Pricing FAQ

    Original URL path: http://www.enfoldsystems.com/software/proxy/docs/6.1/iisproxy.html (2016-02-11)
    Open archived version from archive

  • EP Interface Guide
    link Enter the word below Required Try Now Enfold Proxy 30 day free trial Download Enfold Proxy 495 per new license or 245 per renewal Pricing FAQ Testimonial I have never come across a product that was so easy to install and use as Enfold Proxy And not only that I literally had it installed and working within 2 minutes of purchase Thank you for building a product that does

    Original URL path: http://www.enfoldsystems.com/software/proxy/docs/6.1/dialogoptions.html/sendto_form (2016-02-11)
    Open archived version from archive



  •