query VirtualDirectoryPage(
    $domainId: ID!,
    $path: String!
) {
    domain: node(id: $domainId) {
        ... on Domain {
            id
            name
            webScriptingSettings {
                aspDotNet
                php
                errorDocs
            }
            hosting {
                virtualDirectory(path: $path) {
                    key
                    baseName
                    dirName
                    isVirtual
                    doesExist
                    isReadable
                    canManagePermissions
                }
            }
            subscription {
                permissions {
                    managePhpVersion
                    manageProtectedDirectories
                }
            }
        }
    }
    capability {
        packages {
            isASPdotNetInstalled
            isPhpInstalled
        }
    }
}
