cancel
Showing results for 
Search instead for 
Did you mean: 

Sharepoint Protocol over SSL

krich
Champ in-the-making
Champ in-the-making
I have 3.2 Community up and running and have applied the vti.module amp to get SharePoint Protocol working. Everything is working fine accessing the URL http://mydomain.com:7070/alfresco with Office 2007 documents but I need to utilize the SharePoint protocol over the Internet and need to use the protocol over SSL. I have tried creating a reverse proxy with Apache2 and can map /alfresco as web folders but it will not work with Office 2007.

My question is whether or not there is a  way to enable SSL in the Jetty 6.1.14 server included in the module or if anyone has had success implementing a reverse proxy or some other form of gateway. Passing credentials or accessing confidential files without encryption is not an option.
11 REPLIES 11

erny1803
Champ in-the-making
Champ in-the-making
Hello.

I have proxied VTI to a different port with Apache and it's still working, algthough, I didn't changed the context:

Listen 81
<VirtualHost *:81>
    ServerAdmin webmaster@localhost
    ServerName alfresco.localdomain
    ServerAlias alfrescolocal
    DocumentRoot /var/www
    <Proxy *>
        AddDefaultCharset off
        Order deny,allow
        Allow from all
    </Proxy>

    ProxyVia On
    ProxyPreserveHost On
    ProxyPass / http://alfrescolocal:7070/
    ProxyPassReverse / http://alfrescolocal:7070/

</VirtualHost>

Now I'm trying to specify RewriteRules to mix both in the same VirtualHost. What I saw is the following should be mapped:
  • *_vti*

  •  
  • /resources

  •  
  • *documentLibrary*

  •  
  • *.asmx

  •  
  • *.vti
What I saw that changing
vti.alfresco.deployment.context 
property didn't work, as it is used from VTI module (Jetty) to contact Alfresco. See: tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/{vti-context.xml,vti-handler-alfresco3-context.xml}

erny1803
Champ in-the-making
Champ in-the-making
I tried using a RewriteRule based on User-Agent, but it doesn't work:

RewriteCond %{HTTP_USER_AGENT}  "^Microsoft Office.*"
RewriteRule ^/(.*) http://alfrescolocal:7070/$1 [P,L]

Word uses also connections through other applications, including IE.

The following settings in a normal Apache VirtualHost is working for me with Word 2003 and Alfresco Enterprise 3.2r. (You have to enable mod_rewrite & mod_proxy, of course.) Could anyone confirm this? (There is duplicate authentication.)

    ProxyVia On
    ProxyRequests Off
    ProxyPreserveHost On
    RewriteEngine On
    RewriteRule ^/(.*_vti.*)$ http://localhost:7070/$1 [P,L]
    RewriteRule ^/(resources.*)$ http://localhost:7070/$1 [P,L]
    RewriteRule ^/(.*\.asmx)$ http://localhost:7070/$1 [P,L]
    RewriteRule ^/(.*\.vti)$ http://localhost:7070/$1 [P,L]
    RewriteCond %{HTTP_USER_AGENT} "^Microsoft Office.*"
    RewriteRule ^/(.*documentLibrary.*)$ http://localhost:7070/$1 [P,L]
    ProxyPass / ajp://localhost:8009/
    ProxyPassReverse / ajp://localhost:8009/