cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronisation web/webdav/CIFS

konradpotocki
Champ in-the-making
Champ in-the-making
Alfresco 1.4 community final. Configured using mysql. Empty repository. Configured behind a reversed-proxy apache2 server.

1. Open web interface
2. Mount CIFS
3. Open webdav

a) I create a space in the web interface: visible in webdav, invisible in CIFS, even after umount/remount
b) I create a space in CIFS: visible in web interface and invisible in webdav.

This is a possible followup of my earlier trend. The crucial question is: is anyone else able to reproduce this extremely weird behaviour?
1 REPLY 1

konradpotocki
Champ in-the-making
Champ in-the-making
I have some more information: after randomly trying different scenarios, I abandonned the use of apache reverse proxy… and I go the correct behaviour (CIFS refreshing after the webclient change)

So here goes another question. Is my setup correct?

server.xml is:

<Service name="Catalina">

   <Connector port="8080" maxHttpHeaderSize="8192"
            maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
            enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />
  
  
   <Connector port="8081" maxHttpHeaderSize="8192"
           maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
           enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true"
           proxyName="alfresco.mydomain.tld"
              proxyPort="80"/>
       
   <Engine name="Catalina" defaultHost="localhost">
      
      <Valve className="org.apache.catalina.valves.AccessLogValve"
            directory="logs"  prefix="localhost_access_log." suffix=".txt"
                 pattern="common" resolveHosts="false"/>
      
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>

      <Host name="localhost" appBase="webapps"
         unpackWARs="true" autoDeploy="true"
         xmlValidation="false" xmlNamespaceAware="false">
      </Host>

      <Host name="alfresco.mydomain.tld" debug="1"
         appBase="webapps/alfresco"
         unpackWARs="false" autoDeploy="false">
            <Context path="" docBase="" debug="1"/>
      
            <Valve className="org.apache.catalina.valves.AccessLogValve"
            directory="logs"  prefix="home_access_log." suffix=".txt"
            pattern="common" resolveHosts="false"/>
      </Host>
   </Engine>
</Service>

and my apache proxy config is :


<VirtualHost *:443>
   ServerName alfresco.mydomain.tld
   ProxyRequests Off
   ProxyPass         / http://alfresco.mydomain.tld:8081/
   ProxyPassReverse  / http://alfresco.mydomain.tld:8081/
   <Proxy *>
      Order deny,allow
      Allow from all
   </Proxy>
   ErrorLog  /var/log/apache2/alfresco-error.log
   CustomLog  /var/log/apache2/alfresco.log combined
   SSLEngine On
   SSLCertificateFile /etc/apache2/ssl/apache.pem
</VirtualHost>

All seems OK except this strange CIFS behaviour. What's the problem? Can anyone help?