Exchange Server Forums
Forums |
Register |
Login |
My Profile |
Inbox |
RSS
|
My Subscription |
My Forums |
Address Book |
Member List |
Search |
FAQ |
Ticket List |
Log Out
Redirect URL
|
Users viewing this topic:
none
|
Logged in as: Guest
|
Login | |
|
Limited time MSExchange.org offer! -- 1.Sep.2008 1:00:00 PM
|
|
TechGenix and SolarWinds have partnered to provide free copies of SolarWinds Exchange Monitor to all visitors who join the MSExchange.org Forums. SolarWinds Exchange Monitor is a handy desktop dashboard that continuously monitors Microsoft Exchange to deliver real-time insight into Exchange services, mail queue sizes, and host server health. Learn more about Exchange Monitor and the free offer!
|
RE: Redirect URL - 11.Jun.2008 8:44:13 AM
|
|
|
leederbyshire
Posts: 968
Joined: 4.Jan.2006
Status: offline
|
How are you using the URL? If you type it into your browser's address bar, then the browser will send a GET request to the server, which will always cause OWA 2007 to redirect to /owa . The only time it will not redirect is if you send a proper WebDAV verb such as PROPFIND, etc.
_____________________________
Lee. ___________________________________ Outlook Web Access for PDA and WAP: www.leederbyshire.com ___________________________________
|
|
|
|
RE: Redirect URL - 11.Jun.2008 10:07:11 AM
|
|
|
tsx
Posts: 11
Joined: 10.Jun.2008
Status: offline
|
You are right. I am using URL as a link on a web page. I was wondering if there was a way to modify the URL and make it redirect to the correct page as it seems that currently isn't happening. The only thing I can't get is the ID that OWA URL uses, I've been trying to create one using the method described here http://www.infinitec.de/post/2007/03/Constructing-OWA-2007-item-ids-from-WebDAV-items.aspx but haven't been successful so far. I'm using Java and I'm new to WebDAV.
|
|
|
|
RE: Redirect URL - 11.Jun.2008 10:39:11 AM
|
|
|
leederbyshire
Posts: 968
Joined: 4.Jan.2006
Status: offline
|
Where is the changed URL coming from? Are you saying that when you type the /exchange/ URL into your browser, OWA itself is redirecting you to the /owa/ URL? Or do you have some sort of application doing it for you?
_____________________________
Lee. ___________________________________ Outlook Web Access for PDA and WAP: www.leederbyshire.com ___________________________________
|
|
|
|
RE: Redirect URL - 11.Jun.2008 11:25:21 AM
|
|
|
tsx
Posts: 11
Joined: 10.Jun.2008
Status: offline
|
Yes, when I type the /exchange URL in the browser OWA is redirecting me to /owa by itself.
|
|
|
|
RE: Redirect URL - 11.Jun.2008 11:35:24 AM
|
|
|
leederbyshire
Posts: 968
Joined: 4.Jan.2006
Status: offline
|
Hm. I've never seen it produce a redirect URL with anything after the /owa/ . I've no idea where the %8%F9 (and everything after it) comes from. I assume that if you go to http://server/exchange , you simply get redirected to /owa/ ?
|
|
|
|
RE: Redirect URL - 11.Jun.2008 2:54:34 PM
|
|
|
leederbyshire
Posts: 968
Joined: 4.Jan.2006
Status: offline
|
That's clearly wrong - although I've no idea where those extra characters are coming from. Have a look at the properties of the OWA Virtual Directory in the Exchange Management Console, and see if a value has been configured for its FQDN. There may be something strange in there.
|
|
|
|
RE: Redirect URL - 13.Jun.2008 8:40:29 AM
|
|
|
leederbyshire
Posts: 968
Joined: 4.Jan.2006
Status: offline
|
To be honest, I wouldn't even expect it to have supplied anything like a complete URL, let alone one that almost works. The only thing that is missing is the last parameter &ae=item ?
|
|
|
|
RE: Redirect URL - 13.Jun.2008 2:35:12 PM
|
|
|
tsx
Posts: 11
Joined: 10.Jun.2008
Status: offline
|
Yes. If I add that manually, everything works.
|
|
|
|
RE: Redirect URL - 13.Jun.2008 4:20:40 PM
|
|
|
leederbyshire
Posts: 968
Joined: 4.Jan.2006
Status: offline
|
And what do you see when it's missing? Does it produce some kind of error message?
|
|
|
|
RE: Redirect URL - 16.Jun.2008 1:43:03 PM
|
|
|
tsx
Posts: 11
Joined: 10.Jun.2008
Status: offline
|
Here is the error message I get Request Url: https://exchange2007:443/owa/forms/basic/BasicMessageView.aspx?id=RgAAAAAH0T7pVYypSp4EMOpf4q/aBwBI46Z0ZyabTJ0PxnU1pTBcAAAAABRlAABI46Z0ZyabTJ0PxnU1pTBcAC%2BglKFUAAAA&t=IPM.Note User host address: 192.168.0.103 User: Administrator EX Address: /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Administrator SMTP Address: Administrator@exchange2007.development.local OWA version: 8.0.685.24 Mailbox server: exchange2007.exchange2007.development.local Exception Exception type: System.ArgumentException Exception message: The ID is not a folder ID. ID = RgAAAAAH0T7pVYypSp4EMOpf4q/aBwBI46Z0ZyabTJ0PxnU1pTBcAAAAABRlAABI46Z0ZyabTJ0PxnU1pTBcAC+glKFUAAAA Call stack Microsoft.Exchange.Data.Storage.Folder.InternalBind[T](StoreSessionstoreSession, StoreId folderId, PropertyDefinition[] propsToReturn) Microsoft.Exchange.Data.Storage.Folder.Bind(StoreSession session, StoreId folderId, PropertyDefinition[] propsToReturn) Microsoft.Exchange.Clients.Owa.Basic.ListViewPage.OnLoad(EventArgs e) Microsoft.Exchange.Clients.Owa.Basic.MessageView.OnLoad(EventArgs e) System.Web.UI.Control.LoadRecursive() System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
< Message edited by tsx -- 16.Jun.2008 1:45:47 PM >
|
|
|
|
RE: Redirect URL - 17.Jun.2008 8:20:22 AM
|
|
|
leederbyshire
Posts: 968
Joined: 4.Jan.2006
Status: offline
|
Where do you get the document name exchange2007testemail.EML from? Is that just a guess that if the subject is simple, then the URL should be predictable? Or is there an application providing it for you?
|
|
|
|
RE: Redirect URL - 17.Jun.2008 9:44:43 AM
|
|
|
tsx
Posts: 11
Joined: 10.Jun.2008
Status: offline
|
I'm getting the entire URL using WebDAV. A similar URL works on Exchange 2003. The actual URL might also contain white spaces if there are any. https://myserver/exchange/administrator/Inbox/exchange 2007 test email.EML
|
|
|
|
RE: Redirect URL - 17.Jun.2008 9:50:24 AM
|
|
|
leederbyshire
Posts: 968
Joined: 4.Jan.2006
Status: offline
|
So, you have an application that displays a WebDAV URL. You then copy/paste the URL into your browser. You then get redirected to /owa/ , but the display fails until you add an extra parameter to the URL and try again. Is that something like how it goes?
|
|
|
|
RE: Redirect URL - 17.Jun.2008 9:56:55 AM
|
|
|
tsx
Posts: 11
Joined: 10.Jun.2008
Status: offline
|
You understand the problem. I have an application that looks up for the URL of an e-mail using WebDAV. When I use that URL on my Exchange 2007 server I get redirected to /owa/, but the URL doesn't work without an extra parameter.
|
|
|
|
RE: Redirect URL - 17.Jun.2008 10:03:21 AM
|
|
|
leederbyshire
Posts: 968
Joined: 4.Jan.2006
Status: offline
|
Are you able to change the application? It might be possible to get it to produce the correct /owa/ URL in the first place.
|
|
|
|
RE: Redirect URL - 17.Jun.2008 10:10:39 AM
|
|
|
tsx
Posts: 11
Joined: 10.Jun.2008
Status: offline
|
I can change the application. That was my first approach. I've been trying to, but haven't been able to generate the ID that's on OWA URL. Exchange generates that ID only on redirect.
|
|
|
|
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 |
|