Skip to content

SharePoint SE - SSL web applications are always created with hostheader #90

@PisuToSem

Description

@PisuToSem

When I install the SE edition, the web application on SSL is always set with the host header, even if I have it set to false in the XML configuration, because there is no check in the part of the code where the new SE commands are used:

else # Use method for a regular web app
{
Set-SPWebApplication -Identity $SSLSiteName -Zone Default -Port $SSLPort -SecureSocketsLayer -HostHeader $SSLHostHeader -Certificate $seCert
}

Check which is in the section for previous versions of SharePoint:

if (!([string]::IsNullOrEmpty($webApp.UseHostHeader)) -and $webApp.UseHostHeader -eq $false)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions