Loading ...
Sorry, an error occurred while loading the content.
 

Re: Caching of SSI pages (some based on authorisation)

Expand Messages
  • Perrin Harkins
    ... You can do a trick with mod_rewrite where you do an internal redirect of the URI and add the relevant information to the end of the query string. It has
    Message 1 of 3 , Feb 26, 2004
      On Thu, 2004-02-26 at 08:06, Frank Maas wrote:
      > But... the content within the page is dependent on the user having
      > authenticated himself or not. The authentication is handled via
      > cookies. If a user is authenticated he gets a different page, using
      > the same URL.
      >
      > Now my question: is there a way to (trick) use the caching facilities
      > of the proxy server (apache)?

      You can do a trick with mod_rewrite where you do an internal redirect of
      the URI and add the relevant information to the end of the query
      string. It has access to things like the REMOTE_USER and cookie
      variables.

      - Perrin


      --
      Report problems: http://perl.apache.org/bugs/
      Mail list info: http://perl.apache.org/maillist/modperl.html
      List etiquette: http://perl.apache.org/maillist/email-etiquette.html
    Your message has been successfully submitted and would be delivered to recipients shortly.