1 Reply Latest reply on Jun 25, 2009 5:00 PM by 807573

    Virtual Multihosting - how to redirect homepage?


      I have setup Virtual Multihosting so that requests to https://abc.domain.com are proxied to
      This works quite ok.

      Now I'd like to have all the requests to the https://abc.domain.com homepage redirected to
      (cannot use virt-map for this, as the /dir still uses some resource from the root)
      all I tried did not work

      I tried
      Nametrans fn="home-page" path="/dir/index.jsp"
      as well as various redirects, but none worked

      my obj.conf:
      <Object name="default">
      AuthTrans fn="match-browser" browser=".*MSIE.*" ssl-unclean-shutdown="true"
      NameTrans fn="virt-map" host-regex="abc(|.domain.com)(|:443)" to-prefix=""
      PathCheck fn="url-check"
      ObjectType fn="block-ip"
      Service fn="proxy-retrieve"
      AddLog fn="flex-log" name="access"

      <Object name="file">
      PathCheck fn="unix-uri-clean"
      PathCheck fn="find-index" index-names="index.html,index.jsp"
      ObjectType fn="type-by-extension"
      ObjectType fn="force-type" type="text/plain"
      Service fn="send-file"

      <Object ppath="https://.*">
      Service fn="proxy-retrieve"
      AddLog fn="flex-log" name="log0"


      Edited by: hajma on Dec 17, 2008 8:46 AM