12-26-2011 10:19 PM
01-05-2012 11:02 AM
01-11-2012 06:29 PM
# Load mod_jk module
# Update this path to match your modules location
LoadModule jk_module modules/mod_jk.so
# Declare the module for <IfModule directive> (remove this line on Apache 2.x)
# AddModule mod_jk.c
# Where to find workers.properties
# Update this path to match your conf directory location (put workers.properties next to httpd.conf)
JkWorkersFile conf/workers.properties
# Where to put jk shared memory
# Update this path to match your local state directory or logs directory
JkShmFile logs/mod_jk.shm
# Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log next to access_log)
JkLogFile logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel info
# Select the timestamp log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# Send everything for context /examples to worker named worker1 (ajp13)
JkMount /examples/* worker1
# Send servlet for context /alfresco to your repository
JkMount /sharedev worker1
JkMount /alfresco worker1
# Send JSPs for context /alfresco/* to your repository
JkMount /sharedev/* worker1
JkMount /alfresco/* worker1
1. Requête POST dologin
POST /sharedev/page/dologin HTTP/1.1
Host: alfresco.mydomain.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.25) Gecko/20111212 Firefox/3.6.25 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://alfresco.mydomain.com/sharedev/page/site-index
Cookie: JSESSIONID=DF9868E42947857419361DE72BE3A078; alfLogin=1326316168
Content-Length: 128
Content-Type: application/x-www-form-urlencoded
Paramètres
failure /sharedev/page/type/login?error=true
password xxxxxx
success /sharedev/page/site-index
username xxxxxx
Réponse
HTTP/1.1 302 Déplacé Temporairement
Date: Wed, 11 Jan 2012 21:13:28 GMT
Server: Apache/2.2.6 (Win32) mod_jk/1.2.26
Set-Cookie: JSESSIONID=620927CD2B9D67FD2CC91564081048F9; Path=/sharedev
alfLogin=1326316407; Expires=Wed, 18-Jan-2012 21:13:27 GMT; Path=/sharedev
alfUsername2=Z2FpbGxhcmQ=; Expires=Wed, 18-Jan-2012 21:13:27 GMT; Path=/sharedev
Location: http://alfresco.mydomain.com/sharedev/page/site-index
Content-Length: 0
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/plain
2. Requête GET http://alfresco.mydomain.com/sharedev/page/site-index
GET /sharedev/page/site-index HTTP/1.1
Host: alfresco.mydomain.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.25) Gecko/20111212 Firefox/3.6.25 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://alfresco.mydomain.com/sharedev/page/site-index
Cookie: JSESSIONID=620927CD2B9D67FD2CC91564081048F9; alfLogin=1326316407; alfUsername2=Z2FpbGxhcmQ=
Réponse
HTTP/1.1 302 Déplacé Temporairement
Date: Wed, 11 Jan 2012 21:13:28 GMT
Server: Apache/2.2.6 (Win32) mod_jk/1.2.26
Location: http://alfresco.mydomain.com/sharedev/page/user/xxxxxx/dashboard
Content-Language: fr
Content-Length: 0
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/html;charset=utf-8
3. Requête GET http://alfresco.mydomain.com/sharedev/page/user/xxxxxx/dashboard
GET /sharedev/page/user/xxxxxx/dashboard HTTP/1.1
Host: alfresco.mydomain.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.25) Gecko/20111212 Firefox/3.6.25 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://alfresco.mydomain.com/sharedev/page/site-index
Cookie: JSESSIONID=620927CD2B9D67FD2CC91564081048F9; alfLogin=1326316407; alfUsername2=Z2FpbGxhcmQ=
Réponse
HTTP/1.1 200 OK
Date: Wed, 11 Jan 2012 21:13:28 GMT
Server: Apache/2.2.6 (Win32) mod_jk/1.2.26
Content-Language: fr
Keep-Alive: timeout=5, max=98
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html;charset=utf-8
4. Ensuite la fenêtre de dashboard est affiché.
1. Requête POST dologin
POST /sharedev/page/dologin HTTP/1.1
Host: alfresco.mydomain.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr-fr,fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Referer: http://alfresco.mydomain.com/sharedev/page/site-index
Content-Length: 128
Content-Type: application/x-www-form-urlencoded
Paramètres
failure /sharedev/page/type/login?error=true
password xxxxxx
success /sharedev/page/site-index
username xxxxxx
Réponse
HTTP/1.1 302 Déplacé Temporairement
Via: 1.1 DGA2FRW02
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 0
Date: Wed, 11 Jan 2012 21:03:17 GMT
Location: http://alfresco.mydomain.com/sharedev/page/site-index
Content-Type: text/plain
Server: Apache/2.2.6 (Win32) mod_jk/1.2.26
Set-Cookie: JSESSIONID=0EFE6FB8572AEFAA13F1EE0BDB706400; Path=/sharedev
alfLogin=1326315797; Expires=Wed, 18-Jan-2012 21:03:17 GMT; Path=/sharedev
alfUsername2=R0FJTExBUkQ=; Expires=Wed, 18-Jan-2012 21:03:17 GMT; Path=/sharedev
Keep-Alive: timeout=5, max=100
2. Requête GET site-index
GET /sharedev/page/site-index HTTP/1.1
Host: alfresco.mydomain.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr-fr,fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Referer: http://alfresco.mydomain.com/sharedev/page/site-index
Cookie: JSESSIONID=0EFE6FB8572AEFAA13F1EE0BDB706400; alfLogin=1326315797; alfUsername2=R0FJTExBUkQ=
Réponse
HTTP/1.1 200 OK
Via: 1.1 DGA2FRW02
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 8455
Date: Wed, 11 Jan 2012 21:02:56 GMT
Age: 22
Content-Type: text/html;charset=utf-8
Server: Apache/2.2.6 (Win32) mod_jk/1.2.26
Content-Language: fr-FR
Keep-Alive: timeout=5, max=98
3. Ensuite il affiche la fenêtre de connexion au lieu du dashboard
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.