Uploaded image for project: 'SMB - Optus'
  1. SMB - Optus
  2. OPTUS-28

Hosting environment apache mod prioritization

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: Other / Misc.
    • Labels:
      None

      Description

      There are 3 levels of domain resolution in our apache configuration for SMB. These must be done in the following order.

      <domain.com

      1. mod_rewrite any requests that come in as domain.com instead of www.domain.com to add the www. This is required as the mod_vhost_alias uses the second segment of the domain name to partition site folders. ie: www.domain.com lives in /var/www/html/customer_sites/d/o/www.domain.com

      >www.domain.com

      <www.domain.com

      2. mod_vhost_alias then tries to serve the site from the appropriate folder

      >/var/www/html/customer_sites/d/o/www.domain.com

      </var/www/html/customer_sites/d/o/www.domain.com

      3. ApacheMobileFilter then rewrites the request to get the mobile site when appropriate

      >/var/www/html/customer_sites/d/o/www.domain.com/m or /var/www/html/customer_sites/d/o/www.domain.com

        Attachments

          Activity

            People

            • Assignee:
              jason.stedman Jason Stedman (Inactive)
              Reporter:
              jason.stedman Jason Stedman (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: