Alfresco Tomcat and Apache installation

You are here

2 posts / 0 new
Last post
Alfresco Tomcat and Apache installation

Hello all,

I have successfully installed Alfresco 2.1 on Linux Debian using Tomcat 5.5
The problem I have is that I want to integrate it with apache using JkMount.
I have added the following to my apache config file:
JkMount /alfresco/* ajp13
JkMount /alfresco/*.* ajp13

However that does not work as the path that alfresco generates does not match the jkmount. I have looked in the documentation for a guide to integrating alfresco with apache but I did not find anything.
Can anyone help?
Thank you in advance

For what its worth, this is my configuration for a windows server 2003 based box.

This is in my httpd.conf

<IfModule mod_jk.c>
# Include mod_jk configuration file
Include D:/Apache2/conf/mod-jk.conf

This is my mod-jk.conf

# Where to find workers.properties
JkWorkersFile D:/Apache2/conf/workers.properties
# Where to put jk logs
JkLogFile D:/Apache2/logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel info
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
# JkOptions indicates to send SSK KEY SIZE
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat
JkRequestLogFormat "%w %V %T"
# Mount your applications
#JkMount /application/* loadbalancer
Alias /alfresco "D:/Tomcat/webapps/alfresco"
JkMount /alfresco/* loadbalancer
JkMount /hyperic-hq/* ajp13
# You can use external file for mount points.
# It will be checked for updates each 60 seconds.
# The format of the file is: /url=worker
# /examples/*=loadbalancer
#JkMountFile D:/Apache2/conf/uriworkermap.properties
# Add shared memory.
# This directive is present with 1.2.10 and
# later versions of mod_jk, and is needed for
# for load balancing to work properly
JkShmFile logs/jk.shm
<Location "/*/
AllowOverride None
deny from all

This is my workers.properties

# Define list of workers that will be used
# for mapping requests
# The configuration directives are valid
# for the mod_jk version 1.2.18 and later
# Define Node1
# modify the host as your host IP or DNS name.
# worker.node1.connection_pool_size=10 (1)
# Define Node2
# modify the host as your host IP or DNS name.
worker.node2.host= localhost
# worker.node1.connection_pool_size=10 (1)
# Load-balancing behaviour
# Status worker for managing load balancer

forums index