Globus Connect Server Administration Guides
  • Quickstart Guide
  • Installation Guide
  • Data Access Admin Guide
  • Domain Guide
  • Domain Migration to gaccess.io
  • Streaming Application Tools
  • Streaming Connection Authentication
  • Streaming Guide
  • HTTPS Access to Collections
  • Extending Collection Virtual Host Configurations
  • Identity Mapping Admin Guide
  • Globus OIDC Installation Guide
  • Troubleshooting Guide
  • Command-Line Reference
    • Command summary
    • Audit
      • Load
      • Query
      • Dump
    • Endpoint
      • Setup
      • Show
      • Update
      • Reset Advertised Owner String
      • Set Advertised Owner String
      • Set Owner
      • Set Subscription ID
      • Cleanup
      • Key Convert
      • Domain
      • Role
      • Upgrade
    • OIDC
      • Create
      • Delete
      • Register
      • Show
      • Update
    • Node
      • Create
      • Disable
      • Enable
      • New Secret
      • Setup
      • List
      • Show
      • Update
      • Cleanup
      • Delete
    • Login
    • Session
      • Consent
      • Show
      • Update
    • Whoami
    • Logout
    • Storage Gateway
      • Create
      • List
      • Show
      • Update
      • Delete
    • Stream Gateway
      • Create
      • List
      • Show
      • Update
      • Delete
    • Collection
      • Create
      • List
      • Show
      • Batch Delete
      • Reset Advertised Owner String
      • Set Advertised Owner String
      • Set Owner
      • Set Subscription Admin Verified Collection Property
      • Update
      • Delete
      • Domain
      • Check
      • Role
    • Auth Policy
      • Create
      • List
      • Show
      • Update
      • Delete
    • Sharing Policy
      • Create
      • List
      • Show
      • Delete
    • User Credentials
      • Activescale Create
      • OAuth Create
      • Delete
      • List
      • S3 Create
      • S3 Keys Add
      • S3 Keys Delete
      • S3 Keys Update
    • Self Diagnostic
  • Globus Connect Server Manager API
    • Authorization
    • Versioning
    • Endpoint
    • Roles
    • Nodes
    • Storage Gateways
    • Stream Gateways
    • Collections
    • Lan Secrets
    • User Credentials
    • Domains
    • Sharing Policies
  • API Access for Portals
  • Automated Endpoint Deployment
  • Admin Guide for Sensitive Data
  • Data Access Application Guide
  • Application Migration Guide
  • Change Log
Skip to main content
Globus Docs
  • Getting Started
    Getting Started

    Getting Started and Tutorial docs cover how to perform some activity or provide an introduction to a feature. They are not comprehensive, but help you get started with Globus or with new Globus features.

    • Users
    • Admins
    • Developers
  • Reference
    Reference
    • Service
      • Auth
      • Groups
      • Transfer
      • Timers
      • Flows
      • Compute
      • Search
    • Agents
      • Globus Connect Server
      • GCS CLI
      • Globus Connect Personal
      • Globus Compute
    • SDK
      • Python
      • JS
    • Clients
      • CLI
    • Security and Compliance
      • Product Security
      • Privacy
      • Solutions for Sensitive Data
      • FAQs
  • Solutions & Guides
    Solutions & Guides

    Find practical approaches for leveraging Globus in research environments, integrating with platforms, and building science gateways. Access hands-on guides, integration instructions, and real-world scenarios for advanced usage.

    • Portals/Science Gateways
    • Guides
  • Support
    Support

    Find answers to frequently asked questions, connect with the community by joining our mailing lists, or reach out directly to Globus support.

    • FAQs
    • Mailing Lists
    • Contact Us
    • Check Support Tickets
  • Site Search
  1. Home
  2. Globus Connect Server
  3. v5.4
  4. Extending Collection Virtual Host Configurations

Extending Collection Virtual Host Configurations

Table of Contents
  • 1. Introduction
  • 2. Supported Apache Configuration Directives
  • 3. Configuration File Locations and Targets
  • 4. Precedence and Merging Logic
  • 5. Restart Apache HTTP Service for Changes to Take Effect
  • 6. Verifying Configuration Changes

1. Introduction

Globus Connect Server utilizes Apache HTTP virtual host configurations to provide the HTTPS interface for collections. While GCS manages the default behavior of these interfaces, administrators may need to tailor the configuration to meet specific site requirements, such as adjusting security headers, upload limits, or concurrency settings. This document describes how to extend and override these configurations at various levels of the GCS hierarchy.

Important

Care must be taken to ensure that custom configurations do not negatively impact existing collection HTTP operations. Malformed configurations can prevent the Apache service from starting or disrupt data access for users. Always validate syntax before applying changes in a production environment.

2. Supported Apache Configuration Directives

Collection HTTP virtual host configurations are name-based virtual hosts, so when extending configurations, only use directives suitable for that context.

3. Configuration File Locations and Targets

Admins may place Apache HTTP configuration fragments in the following locations to target specific GCS collections. All directives found in these files will be injected into the context of the target collection’s VirtualHost configuration.

Node-wide Targets

A file at /etc/globus/httpd/gcs.conf or any files located at /etc/globus/httpd/gcs/*.conf will override the behavior of all collections on the node.

Storage Gateway Targets

A file at /etc/globus/httpd/<storage_gateway_id>.conf or any files located at /etc/globus/httpd/<storage_gateway_id>/*.conf will override the behavior of all collections associated with that specific storage gateway.

Collection Targets

A file at /etc/globus/httpd/<collection_id>.conf or any files located at /etc/globus/httpd/<collection_id>/*.conf will override the behavior of that specific collection. If the target is a mapped collection, all guest collections parented by that mapped collection will inherit these modifications as well.

Note

To apply these configurations, you must identify the unique identifiers (UUIDs) for your targets. You can find the Storage Gateway ID, Mapped Collection ID, or Guest Collection ID by using the globus-connect-server collection show <collection_id> command and identifying the necessary ID field in the output.

Admins do not need to create all directories or files listed above; only create the paths necessary to achieve the desired configuration for your target(s).

Note

It is the administrator’s responsibility to place these vhost configurations on all nodes in the endpoint. GCS does not manage, synchronize, or replicate these manual configuration files between nodes in a multi-node deployment.

4. Precedence and Merging Logic

If multiple configuration files pertain to the same collection, they are processed in a specific order. Directives in later configuration files override the same directives in earlier files. The order of precedence is as follows:

  1. /etc/globus/httpd/gcs.conf

  2. /etc/globus/httpd/gcs/*.conf (loaded alphabetically)

  3. /etc/globus/httpd/<storage_gateway_id>.conf

  4. /etc/globus/httpd/<storage_gateway_id>/*.conf (loaded alphabetically)

  5. If a guest collection: /etc/globus/httpd/<mapped_collection_id>.conf

  6. If a guest collection: /etc/globus/httpd/<mapped_collection_id>/*.conf (loaded alphabetically)

  7. /etc/globus/httpd/<collection_id>.conf

  8. /etc/globus/httpd/<collection_id>/*.conf (loaded alphabetically)

5. Restart Apache HTTP Service for Changes to Take Effect

After placing or modifying any of the configuration files, you must restart the Apache HTTP service for the changes to take effect. This ensures that the new configurations are loaded and applied to the relevant collection virtual hosts.

Ubuntu, Debian, SUSE
$ sudo systemctl restart apache2.service
Fedora, CentOS, RedHat
$ sudo systemctl restart httpd.service

6. Verifying Configuration Changes

After applying changes to the Apache HTTP configuration, it is important to verify that the changes have been applied correctly and are functioning as intended. This can be done through a combination of checking the Apache configuration syntax, reviewing Apache logs for any errors, and performing test operations against the affected collections. The validation steps listed here are to verify that impacted GCS collection virtual hosts are correctly providing their intended functionality.

Using the Globus Webapp, perform the following operations against the collection(s) impacted by the configuration changes:

  1. Perform a directory listing of the collection and verify that it completes successfully and returns the expected results.

  2. Use the Webapp’s "Upload" feature to upload a file to the collection and verify that it completes successfully.

  3. Use the Webapp’s "Download" feature to download a file from the collection and verify that it completes successfully.

  • Quickstart Guide
  • Installation Guide
  • Data Access Admin Guide
  • Domain Guide
  • Domain Migration to gaccess.io
  • Streaming Application Tools
  • Streaming Connection Authentication
  • Streaming Guide
  • HTTPS Access to Collections
  • Extending Collection Virtual Host Configurations
  • Identity Mapping Admin Guide
  • Globus OIDC Installation Guide
  • Troubleshooting Guide
  • Command-Line Reference
    • Command summary
    • Audit
      • Load
      • Query
      • Dump
    • Endpoint
      • Setup
      • Show
      • Update
      • Reset Advertised Owner String
      • Set Advertised Owner String
      • Set Owner
      • Set Subscription ID
      • Cleanup
      • Key Convert
      • Domain
      • Role
      • Upgrade
    • OIDC
      • Create
      • Delete
      • Register
      • Show
      • Update
    • Node
      • Create
      • Disable
      • Enable
      • New Secret
      • Setup
      • List
      • Show
      • Update
      • Cleanup
      • Delete
    • Login
    • Session
      • Consent
      • Show
      • Update
    • Whoami
    • Logout
    • Storage Gateway
      • Create
      • List
      • Show
      • Update
      • Delete
    • Stream Gateway
      • Create
      • List
      • Show
      • Update
      • Delete
    • Collection
      • Create
      • List
      • Show
      • Batch Delete
      • Reset Advertised Owner String
      • Set Advertised Owner String
      • Set Owner
      • Set Subscription Admin Verified Collection Property
      • Update
      • Delete
      • Domain
      • Check
      • Role
    • Auth Policy
      • Create
      • List
      • Show
      • Update
      • Delete
    • Sharing Policy
      • Create
      • List
      • Show
      • Delete
    • User Credentials
      • Activescale Create
      • OAuth Create
      • Delete
      • List
      • S3 Create
      • S3 Keys Add
      • S3 Keys Delete
      • S3 Keys Update
    • Self Diagnostic
  • Globus Connect Server Manager API
    • Authorization
    • Versioning
    • Endpoint
    • Roles
    • Nodes
    • Storage Gateways
    • Stream Gateways
    • Collections
    • Lan Secrets
    • User Credentials
    • Domains
    • Sharing Policies
  • API Access for Portals
  • Automated Endpoint Deployment
  • Admin Guide for Sensitive Data
  • Data Access Application Guide
  • Application Migration Guide
  • Change Log
© 2010- The University of Chicago Legal Privacy Accessibility