[sync] Littles questions about SyncML

Gerard Breiner gerard.breiner at ias.u-psud.fr
Wed Jan 16 14:04:11 UTC 2013


Le 14 janv. 2013 à 11:40, Gerard Breiner a écrit :

> It appears that several months ago I had installed too horde H4 4.0.15 and configured ActiveSync under the same apache server that horde5
> When I run suggested by Jens   http://horde4.domain/Microsoft-Server-ActiveSync  I do get the message : "accessing the ActiveSync URL via browser is not supported." but  when I run the same test under Horde H5 5.03 with http://horde5.domain/Microsoft-Server-ActiveSync it is redirected to the login page.
> 
> Best regards.
> 
> Gérard
> 
> 
> Le 13 janv. 2013 à 23:40, Gerard Breiner a écrit :
> 
>> 
>> Le 13 janv. 2013 à 20:58, mrubinsk at horde.org a écrit :
>> 
>>> Quoting Gerard Breiner <gerard.breiner at ias.u-psud.fr>> Hi Mike, Jens,
>>>> 
>>>> Yes Jens, I did the test  in firefox horde5.domain/Microsoft-Server-ActiveServer and it return a blanck page but  the apache logs  testified that there is a login redirection.
>>>> [LOG]
>>>> [13/Jan/2013:19:29:49 +0100] "GET /Microsoft-Server-ActiveSync/ HTTP/1.1" 200 20 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20100101 Firefox/17.0"
>>>> amontsouris-163-1-58-255.w90-2.abo.wanadoo.fr - - [13/Jan/2013:19:29:49 +0100] "GET /login.php?url=http%3A%2F%2Fhorde5.domain%2Ffavicon.ico&horde_logout_token=pnsCMBD_lBjPt-XOPBjccQ1&app=horde HTTP/1.1" 200 2030 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20100101 Firefox/17.0"
>>>> [/LOG].
>>>> 
>>>> Yet the alias in my apache config is correct :
>>>> DocumentRoot  /www/horde5
>>>> Alias /Microsoft-Server-ActiveSync /www/horde5/rpc.php
>>>> 
>>>> Another test with the url horde5.domain/rpc.php display what it is expected :
>>>> <SOAP-ENV:Envelope><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Bad Request</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
>>>> 
>>>> Then I want to test the Alias's directive syntax, so I create a file phpinfo.php and add the line phpinfo()
>>>> Then in apache config : Alias /Microsoft-Server-ActiveSync /www/horde5/phpinfo.php
>>>> Then service apache2 reload
>>>> Then the url horde5.domain/Microsoft-Server-ActiveServer in firefox  display what it is expected.
>>>> 
>>>> Therefore there is an issue with "Alias /Microsoft-Server-ActiveSync /www/horde5/rpc.php" but the syntax seems correct.
>>>> 
>>>> Thanks to both of you.
>>>> 
>>>> Gérard
>>>> 
>>>> Le 11 janv. 2013 à 20:01, Michael J Rubinsky a écrit :
>>>> 
>>>>> Quoting "Jens-U. Mozdzen" <jmozdzen at nde.ag>:
>>>>> 
>>>>>> Hi Mike,
>>>>>> 
>>>>>> Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
>>>>>>> [...]
>>>>>>> The activesync code ignores any provided domain value and can use the username after the slash delimiter. As stated before,  this is either a very broken EAS client or the server is misconfigured.
>>>>>> 
>>>>>> I sure you're right - it's either the client or the server. 'cause the network in between seems to work.
>>>>> 
>>>>> Not sure what the reason for the sarcasm is.  I was simply correcting misinformation about the domain/username to avoid wasting time on that.
>>>>> 
>>>>>> misconfigured server, I was just trying to be helpful by getting the debug ball rolling - "it doesn't work because you did something wrong" obviously didn't get Gerard very far so far.
>>>>> 
>>>>> Sorry, exactly where did I say that?
>>>>> 
>>>>>> Might the login.php call be made because the aliasing of /Microsoft-Server-ActiveSync to rpc.php failed for whatever (configuration) issue, causing H5 to take it a as regular web request, noticing that no login session was available yet and thus redirecting the call to the "login wrapper"? That would indeed point to a mis-configured server.
>>>>> 
>>>>> This is exactly what I already suggested earlier in the thread, among other bits of information.
>>>>> 
>>>>>> Gerard, what result do you get when accessing horde5.domain.fr/Microsoft-Server-ActiveSync? My browser then displays a message with a (NLS) message "accessing the ActiveSync URL via browser is not supported." Does your server respond similar, or are you redirected to the login page?
>>>>>> 
>>>>>> Regards,
>>>>>> Jens
>>>>> --
>>>>> mike
>>>>> 
>>>>> The Horde Project (www.horde.org)
>>>>> mrubinsk at horde.org
>>>>> 
>>>> 
>>>> 
>>> Are you using Microsoft-Server-ActiveSync or ActiveServer as you say above?
>>> 
>>> Gerard Breiner <gerard.breiner at ias.u-psud.fr> wrote:
>>> 
>>> 
>>> 
>> 
>> I am using "Microsoft-Server-ActiveSync"… Sorry for the typing error in my answer.
>> I did another test with another alias :  Alias /xx  /www/horde5/rpc.php
>> then in firefox : http://horde5.domain/xx
>> I get what it is expected (if I do understand)
>> 
>> <SOAP-ENV:Envelope><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Bad Request</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
>> 
>> So it is only this alias "Alias /Microsoft-Server-ActiveSync /www/horde5/rpc.php" that cause issue as though there is a conflict with the alias name  and something inside rpc.php.
>> 
>> Best regards
>> 
>> Gérard
>> 
>> 
>> 
>> 
>> -- 
>> sync mailing list
>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>> To unsubscribe, mail: sync-unsubscribe at lists.horde.org
> 
> -- 
> sync mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: sync-unsubscribe at lists.horde.org

Hi,

I come back to thanks you for the hints that helped me to solve this issue by doing a new install of horde… In fact in the .htaccess  under horde
the value  PHP_PEAR_SYSCONF_DIR  wasn't longer correct… Sorry for the inconvenience and many thanks again….

Best regards.

Gérard


More information about the sync mailing list