• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

domain.com/owa not working, but domain.com/owa/ is working

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Outlook Web Access >> domain.com/owa not working, but domain.com/owa/ is working Page: [1] 2   next >   >>
Login
Message << Older Topic   Newer Topic >>
domain.com/owa not working, but domain.com/owa/ is working - 5.Feb.2010 8:45:11 AM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
I've got a strange problem.
The problem occured 1 day after I uninstalled the Trend Micro client, I don't think there's a connection, but thats the only thing that has changed on the server.

This is a Windows SBS 2008 server with Exchange 2007 SP2.
The problem is that https://remote.domain.com/owa is not working, but if I write https://remote.domain.com/owa/ i can log in.

The people using this server are using Remote Web Workplace. They log in to https://remote.domain.com and click on "Check E-mail", but the "Check E-Mail" link points to http://remote.domain.com/owa without the forward slash at the end.
When I try to go to /owa without forward slash at the end the site just loads for a while and I get a message that the site could not be found.
I've got the same problem both internally and externally.

I guess this is a IIS problem, but I can't figure it out.
I have tried deleting the OWA pages and creating them again with the Exchange Powershell.
Help would be greatly appretiated.
Post #: 1
RE: domain.com/owa not working, but domain.com/owa/ is ... - 5.Feb.2010 8:51:09 AM   
leederbyshire

 

Posts: 1356
Joined: 4.Jan.2006
Status: offline
Having the slash on the end is actually correct - it's just that IIS sends a redirection response to your browser whenever you supply a directory name (which is what /owa/ is), rather than a document name (e.g. something that ends in .htm or .asp). The first thing I would check is the IIS logs to make sure that IIS responds to your request for /owa with a 302 response, which is its instruction to your browser to redirect to /owa/ .

_____________________________

Lee.
___________________________________

Outlook Web Access for PDA and WAP:
www.leederbyshire.com
___________________________________

(in reply to glenng)
Post #: 2
RE: domain.com/owa not working, but domain.com/owa/ is ... - 5.Feb.2010 9:37:07 AM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
Thanks for the reply.

I have tried looking in the log files, but theres little information.
Can I make the logs more verbose?

This line is what got logged when I tried accessing the site without an forward slash after owa:
2010-02-05 14:22:50 192.168.1.10 GET /owa - 443 - 1xx.2xx.xx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 301 0 1236 16033

When I try accessing the page with an forward slash at the end this gets logged:
2010-02-05 14:34:26 192.168.1.10 GET /owa/ - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 401 2 5 34
2010-02-05 14:34:26 192.168.1.10 GET /owa/auth/logon.aspx url=https://remote.domain.com/owa/&reason=0 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 116
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/themes/base/logon.css - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 38
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/themes/base/lgnbotl.gif - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 38
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/themes/base/lgntopr.gif - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 34
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/themes/base/lgnexlogo.gif - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 29
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/themes/base/lgnbotr.gif - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 133
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/themes/base/owafont.css - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 157
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/themes/base/lgntopl.gif - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 174
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/scripts/premium/flogon.js - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 214
2010-02-05 14:34:26 192.168.1.10 GET /favicon.ico - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 404 0 2 30
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/themes/base/lgntopm.gif - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 160
2010-02-05 14:34:26 192.168.1.10 GET /favicon.ico - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 404 0 2 29
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/themes/base/lgnleft.gif - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 231
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/themes/base/lgnright.gif - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 233
2010-02-05 14:34:26 192.168.1.10 GET /owa/8.2.234.1/themes/base/lgnbotm.gif - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 237
2010-02-05 14:34:29 192.168.1.10 GET /favicon.ico - 443 - 1xx.2xx.xxx.xxx Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+nb-NO;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 404 0 2 29

(in reply to leederbyshire)
Post #: 3
RE: domain.com/owa not working, but domain.com/owa/ is ... - 5.Feb.2010 9:47:09 AM   
leederbyshire

 

Posts: 1356
Joined: 4.Jan.2006
Status: offline
The first line indicates that the server is asking your browser to redirect (301 or 302 is a redirect response), but since there is nothing following it, your browser isn't behaving as instructed. Have a look in your IE options, and see if redirects are allowed. The option may be listed as 'Allow META refresh'.

(in reply to glenng)
Post #: 4
RE: domain.com/owa not working, but domain.com/owa/ is ... - 5.Feb.2010 9:54:15 AM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
The same error occurs on all computers with both IE and Firefox, and it has worked on these computers before.
I don't think that's the issue.

(in reply to leederbyshire)
Post #: 5
RE: domain.com/owa not working, but domain.com/owa/ is ... - 5.Feb.2010 10:03:06 AM   
leederbyshire

 

Posts: 1356
Joined: 4.Jan.2006
Status: offline
When you type the URL without a slash, and the browser eventually displays an error, has any part of the URL you typed into the address bar (e.g. the servername part after the https://) been changed to anything else without you noticing?

(in reply to glenng)
Post #: 6
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 5:09:12 AM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
The URL does not change.
I have installed wireshark now to see where the error occurs.

When I go to http://remote.domain.com/owa I get this reply:
1804    1330.255498    ServerIP    MyIP    HTTP    HTTP/1.1 404 Not Found  (text/html)

It doesn't look like I can see the response from the server in clear text when it is HTTPS encrypted.



As previously mentioned this is a SBS 2008 server with Exchange 2007 SP2.

According to the Microsoft SBS 2008 Best Practice analyzer the Exchange Websites is supposed to bee in the "SBS Applications" web site in IIS 7 manager.
After I installed SP2 some of the Exchange Web sites is under the "Default Web site"



I have also noticed that if I type an URL I know doesn't exist, for exampe https://remote.domain.com/abc I get an 404 error immidiatly, and the page displayed is the 404 error from IIS
If I go to https://remote/domain.com/owa it just loads for a long time and after a while it gives up, now it is the default Internet Explorer 404 error that is displayed.

So it looks like it is trying to redirect, but the URL it is redirecting to may be wrong.
I can't see the conversation with wireshark since it is encrypted

< Message edited by glenng -- 8.Feb.2010 5:45:15 AM >

(in reply to leederbyshire)
Post #: 7
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 5:33:48 AM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
This is the entire conversation when I try to open http://server.ip/owa
No https, no forward slash

GET /owa HTTP/1.1

Accept: image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*

Accept-Language: nb-NO

User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)

Accept-Encoding: gzip, deflate

Host: xxx.xxx.xxx.10

Connection: Keep-Alive



HTTP/1.1 302 Redirect

Content-Type: text/html; charset=UTF-8

Location: https://remote.domain.com/owa/owa

Server: Microsoft-IIS/7.0

X-Powered-By: ASP.NET

Date: Mon, 08 Feb 2010 10:07:35 GMT

Content-Length: 157



<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="https://remote.domain.com/owa/owa">here</a></body>GET /owa HTTP/1.1

Accept: image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*

Accept-Language: nb-NO

User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)

Accept-Encoding: gzip, deflate

Host: xxx.xxx.xxx.10

Connection: Keep-Alive



HTTP/1.1 302 Redirect

Content-Type: text/html; charset=UTF-8

Location: https://remote.domain.com/owa/owa

Server: Microsoft-IIS/7.0

X-Powered-By: ASP.NET

Date: Mon, 08 Feb 2010 10:07:37 GMT

Content-Length: 157



<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="https://remote.domain.com/owa/owa">here</a></body>





This does not happen when I connect with HTTPS

(in reply to leederbyshire)
Post #: 8
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 8:09:15 AM   
leederbyshire

 

Posts: 1356
Joined: 4.Jan.2006
Status: offline
Did you follow one of those documents that shows you how to redirect your default web site to /owa, so that your users don't need to type /owa on the end of the URL? It looks like that is what is happening, but they don't work with IIS7 - some kind of loop gets created.

_____________________________

Lee.
___________________________________

Outlook Web Access for PDA and WAP:
www.leederbyshire.com
___________________________________

(in reply to glenng)
Post #: 9
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 8:32:52 AM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
It was a redirect active on the default web site. I have removed it, but it didn't help.

(in reply to leederbyshire)
Post #: 10
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 8:39:27 AM   
leederbyshire

 

Posts: 1356
Joined: 4.Jan.2006
Status: offline
What happens now? Do the traces show anything different? You shouldn't be seeing any more references to http://server/owa/owa .

(in reply to glenng)
Post #: 11
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 9:22:05 AM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
Now I only get the standard IIS 404 error when trying to go to http://ip/owa or owa/
http://ip gives me the IIS welcome page.
The redirect is gone, but https://ip/owa still doesn't work

(in reply to leederbyshire)
Post #: 12
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 9:32:14 AM   
leederbyshire

 

Posts: 1356
Joined: 4.Jan.2006
Status: offline
If there are several web sites in IIS on the server, I would now check that the Default Web Site (i.e. the one where you say the OWA VDir now is), is the site that's configured to listen on ports 80 and 443; and that the other sites are not.

(in reply to glenng)
Post #: 13
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 9:39:25 AM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
Take a look at this log:
http://pastebin.com/m2fd53c5a

I enabled Failed Request tracing, and the above log got generated when I tried to access https://remote.domain.com/owa

Look at line number 10, 79 and 80.
Looks like it tries to redirect, but it doesn't happen for some reason.

(in reply to leederbyshire)
Post #: 14
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 9:50:24 AM   
leederbyshire

 

Posts: 1356
Joined: 4.Jan.2006
Status: offline
The last ten or so lines indicate that the server is sending its redirect request, but the browser doesn't seem to be doing anything with it. I would suspect something in the browser's settings, but if all your clients are doing this, then it's obviously not that. Have you tried it from the server itself by going to https://localhost/owa ?

(in reply to glenng)
Post #: 15
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 9:54:16 AM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
Yes, its the same error when trying to open https://localhost/owa from the server.
I have put the entire xml file here if that helps: http://dl.dropbox.com/u/1941550/glenn.xml

(in reply to leederbyshire)
Post #: 16
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 9:59:48 AM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
Is it a URL rewrite module that is trying to do the redirect here?
Is it possible to view the settings of this module?

(in reply to glenng)
Post #: 17
RE: domain.com/owa not working, but domain.com/owa/ is ... - 8.Feb.2010 10:25:26 AM   
leederbyshire

 

Posts: 1356
Joined: 4.Jan.2006
Status: offline
I don't know, sorry.

(in reply to glenng)
Post #: 18
RE: domain.com/owa not working, but domain.com/owa/ is ... - 9.Feb.2010 4:37:52 PM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
I'm concidering downgrading from SP2 to SP1.
There are some known issues with Exchange 2007 SP2 and SBS 2008.
How should I proceed to downgrade?
If I uninstall Exchange, will all data be erased from the AD user objects?

I think maybe the mess in the IIS sites has something to do with this error.
Right now there is some sites that are both in Default Web Sites and in SBS Web Applications, and some of them are just in one of them.

Default Web Site:
Exadmin
Exchange
Exchweb
Public

SBS Web Applications:
Exadmin
Exchange
owa
Public


I have allready tried deleting and re-generating the OWA sites with the Exchange Shell.
After I deleted and "reinstalled" them they only appeared in SBS Web Applicaitons, but after a short period of time some got copied or moved to Default Web Site.

Now it is just confused, I think
[PS] C:\Windows\system32>Get-OwaVirtualDirectory

Name Server OwaVersion
---- ------ ----------
owa (SBS Web Applications) DC01 Exchange2007
WARNING: Outlook Web Access has detected an inconsistency in the Active
Directory configuration for the following virtual directories. This can happen
if Outlook Web Access virtual directories were deleted in Internet Services
Manager. Verify that you have access to the metabase on the servers listed
below. To correct this inconsistency, run the following command:
Remove-OwaVirtualDirectory -Identity "Exchweb (SBS Web Applications)". Running
this command will remove references to these virtual directories from the
Active Directory directory service."Exchweb (SBS Web Applications)"
Exchweb (SBS Web Applic... DC01 Exchange2003or2000
Exadmin (SBS Web Applic... DC01 Exchange2003or2000
Exchange (SBS Web Appli... DC01 Exchange2003or2000
Public (SBS Web Applica... DC01 Exchange2003or2000

(in reply to leederbyshire)
Post #: 19
RE: domain.com/owa not working, but domain.com/owa/ is ... - 9.Feb.2010 5:00:20 PM   
glenng

 

Posts: 15
Joined: 5.Feb.2010
Status: offline
I used this script to completely remove all OWA virtual directories and reinstall.
I got the script on microsoft technet, I had to modify it, because it didn't remove all virtual directories.
It's still no go with /owa even after the OWA reinstall


$LocalServerName = hostname
$ActiveSyncMailboxName = "Windows SBS Mobile Mailbox Policy" + " " + $LocalServerName
$OABVDir = $LocalServerName + "\OAB (SBS Web Applications)"
$OAB = Get-OfflineAddressBook | Select-Object -Property Name
$strDomainDNS = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain().Name
$DomainAdmins = $strDomainDNS + "\Domain Admins"
$OrgName = Get-OrganizationConfig | Select-Object -Property DistinguishedName
$DefaultExchangeCertificate = "CN=" + $LocalServerName
Get-ExchangeCertificate | Where { $_.Subject -eq "$DefaultExchangeCertificate" } | ForEach { Remove-ExchangeCertificate -Thumbprint $_.Thumbprint }
Remove-OWAVirtualDirectory -Identity "Owa (Default Web Site)" -Confirm:$false
Remove-OWAVirtualDirectory -Identity "Exadmin (Default Web Site)" -Confirm:$false
Remove-OWAVirtualDirectory -Identity "Exchange (Default Web Site)" -Confirm:$false
Remove-OWAVirtualDirectory -Identity "Exchweb (Default Web Site)" -Confirm:$false

Remove-OWAVirtualDirectory -Identity "Public (Default Web Site)" -Confirm:$false
Remove-WebServicesVirtualDirectory -Identity "EWS (Default Web Site)" -Confirm:$false
Remove-ActiveSyncVirtualDirectory -Identity "Microsoft-Server-ActiveSync (Default Web Site)" -Confirm:$false
Remove-OabVirtualDirectory -Identity "OAB (Default Web Site)" -Force:$true -Confirm:$false
Remove-UMVirtualDirectory -Identity "UnifiedMessaging (Default Web Site)" -Confirm:$false
Remove-AutodiscoverVirtualDirectory -Identity "Autodiscover (Default Web Site)" -Confirm:$false
Remove-OWAVirtualDirectory -Identity "Owa (SBS Web Applications)" -Confirm:$false
Remove-OWAVirtualDirectory -Identity "Exadmin (SBS Web Applications)" -Confirm:$false
Remove-OWAVirtualDirectory -Identity "Exchange (SBS Web Applications)" -Confirm:$false
Remove-OWAVirtualDirectory -Identity "Public (SBS Web Applications)" -Confirm:$false
Remove-OWAVirtualDirectory -Identity "Exchweb (SBS Web Applications)" -Confirm:$false

Remove-WebServicesVirtualDirectory -Identity "EWS (SBS Web Applications)" -Confirm:$false
Remove-ActiveSyncVirtualDirectory -Identity "Microsoft-Server-ActiveSync (SBS Web Applications)" -Confirm:$false
Remove-OabVirtualDirectory -Identity "OAB (SBS Web Applications)" -Force:$true -Confirm:$false
Remove-UMVirtualDirectory -Identity "UnifiedMessaging (SBS Web Applications)" -Confirm:$false
Remove-AutodiscoverVirtualDirectory -Identity "Autodiscover (SBS Web Applications)" -Confirm:$false

New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2007" -ExternalAuthenticationMethods Fba
Set-OWAVirtualDirectory -InternalUrl "https://sites/owa/" -ClientAuthCleanupLevel "Low" -LogonFormat "UserName" -DefaultDomain $strDomainDNS -Identity "Owa (SBS Web Applications)"
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "Exadmin" -ExternalAuthenticationMethods Fba
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "Mailboxes" -ExternalAuthenticationMethods Fba
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "Exchweb" -ExternalAuthenticationMethods Fba
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "PublicFolders" -ExternalAuthenticationMethods Fba
New-WebServicesVirtualDirectory -WebsiteName "SBS Web Applications" -InternalUrl "https://Sites/EWS/Exchange.asmx" -basicauthentication 1 -windowsauthentication 1
New-ActiveSyncVirtualDirectory -WebsiteName "SBS Web Applications" -InternalUrl "https://Sites/Microsoft-Server-ActiveSync" -ExternalAuthenticationMethods Basic -InternalAuthenticationMethods Basic
New-OabVirtualDirectory -WebsiteName "SBS Web Applications" -InternalUrl "https://Sites/OAB"
Set-OabVirtualDirectory -PollInterval "30" -Identity "oab (sbs web applications)"
New-UMVirtualDirectory -WebsiteName "SBS Web Applications" -InternalUrl "https://Sites/UnifiedMessaging/Service.asmx"
New-AutodiscoverVirtualDirectory -WebsiteName "SBS Web Applications" -InternalUrl "https://Sites/Autodiscover/Autodiscover.xml" -BasicAuthentication 1 -WindowsAuthentication 1
Set-ClientAccessServer -Identity $LocalServerName -AutoDiscoverServiceInternalUri "https://sites/Autodiscover/Autodiscover.xml"
Set-OfflineAddressBook $OAB.Name -VirtualDirectories $OABVDir -Versions Version2,Version3,Version4 -PublicFolderDistributionEnabled:$True
iisreset /noforce
cd $env:windir\system32\inetsrv
.\appcmd.exe unlock config "-section:system.webserver/security/authentication/windowsauthentication"
.\appcmd.exe set config "SBS Web Applications/ews" "-section:windowsAuthentication" "-useKernelMode:False" /commit:apphost
.\appcmd.exe set config "SBS Web Applications/AutoDiscover" "-section:windowsAuthentication" "-useKernelMode:False" /commit:apphost
.\appcmd.exe set config "SBS Web Applications/oab" "-section:windowsAuthentication" "-useKernelMode:False" /commit:apphost
.\appcmd.exe set site "Default Web Site" /Bindings:http/*:80:
.\appcmd.exe start site "Default Web Site"
.\appcmd.exe start site "SBS Web Applications"


< Message edited by glenng -- 10.Feb.2010 11:29:58 AM >

(in reply to glenng)
Post #: 20

Page:   [1] 2   next >   >> << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Outlook Web Access >> domain.com/owa not working, but domain.com/owa/ is working Page: [1] 2   next >   >>
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter