<VirtualHost *:80>
	ServerAdmin webmaster@ma-collectivite.fr
	ServerName parapheur.ma-collectivite.fr
	DocumentRoot "/var/www/parapheur"

	LogLevel info 
	ErrorLog /var/log/apache2/iparapheur_error.log
	CustomLog /var/log/apache2/iparapheur_access.log combined

	<Directory /var/www/parapheur>
		Allow from all
	</Directory>
	<Directory /opt/iParapheur/tomcat/webapps/alfresco/images>
		Allow from all 
	</Directory>
	<Directory /opt/iParapheur/tomcat/webapps/alfresco/css>
		Allow from all 
	</Directory>
	<Directory /opt/iParapheur/tomcat/webapps/alfresco/scripts>
		Allow from all 
	</Directory>
	Alias /alfresco/images /opt/iParapheur/tomcat/webapps/alfresco/images
	Alias /alfresco/css /opt/iParapheur/tomcat/webapps/alfresco/css
	Alias /alfresco/scripts /opt/iParapheur/tomcat/webapps/alfresco/scripts

	<Proxy *>
		order deny,allow 
		allow from all 
	</Proxy>

	<Location /bl-xemwebviewer>
		ProxyPass ajp://localhost:9009/bl-xemwebviewer
	</Location>
	<Location /alfresco/wcservice/>
		ProxyPassMatch  ajp://localhost
	</Location>
	<Location /alfresco/service/>
		ProxyPassMatch  ajp://localhost
	</Location>
	<Location /alfresco/wcs/>
		ProxyPassMatch  ajp://localhost
	</Location>
	<Location /alfresco/d/>
		ProxyPassMatch  ajp://localhost
	</Location>
	<Location /alfresco/navigate/>
		ProxyPassMatch  ajp://localhost
	</Location>
	<LocationMatch /alfresco$>
		ProxyPassMatch  ajp://localhost
	</LocationMatch>
	<LocationMatch /alfresco/(?!images|css|scripts)>
		ProxyPassMatch  ajp://localhost
	</LocationMatch>
</VirtualHost>
