You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2003/05/19 09:00:05 UTC

[WIKI-UPDATE] ApacheModProxy Mon May 19 09:00:04 2003

Page: http://wiki.cocoondev.org/Wiki.jsp?page=ApacheModProxy , version: 13 on Mon May 19 06:19:19 2003 by 217.76.106.227

- ProxyPass        / http://localhost:8080/
+ <B style="color:black;background-color:#A0FFFF">ProxyPass</b>        / http://localhost:8080/
- Using mod_proxy and the set of ProxyPass configuration directive doesn't
+ Using mod_proxy and the set of <B style="color:black;background-color:#A0FFFF">ProxyPass</b> configuration directive doesn't
- ProxyPass        /static/ !
+ <B style="color:black;background-color:#A0FFFF">ProxyPass</b>        /static/ !
- ProxyPass        /favicon.ico !
+ <B style="color:black;background-color:#A0FFFF">ProxyPass</b>        /favicon.ico !
- ProxyPass        / http://localhost:8080/
+ <B style="color:black;background-color:#A0FFFF">ProxyPass</b>        / http://localhost:8080/
- Simple, the {{!}} (exclamation mark) keyword in ProxyPass means "don't" :-)
+ Simple, the {{!}} (exclamation mark) keyword in <B style="color:black;background-color:#A0FFFF">ProxyPass</b> means "don't" :-)
- ProxyPass        /static/ !
+ <B style="color:black;background-color:#A0FFFF">ProxyPass</b>        /static/ !
- ProxyPass        /favicon.ico !
+ <B style="color:black;background-color:#A0FFFF">ProxyPass</b>        /favicon.ico !
- ProxyPass        / http://localhost:8080/
+ <B style="color:black;background-color:#A0FFFF">ProxyPass</b>        / http://localhost:8080/
- RewriteRule "^/static/?(.*)" "$0" [L]
+ <B style="color:black;background-color:#99ff99">RewriteRule</b> "^/static/?(.*)" "$0" [L]
- RewriteRule "^/WEB-INF/?(.*)" "$0" [L,F,NC]
+ <B style="color:black;background-color:#99ff99">RewriteRule</b> "^/WEB-INF/?(.*)" "$0" [L,F,NC]
- RewriteRule "^/(.*)\.gif$" "$0" [L]
- RewriteRule "^/(.*)\.(jpg|jpeg)$" "$0" [L]
+ <B style="color:black;background-color:#99ff99">RewriteRule</b> "^/(.*)\.gif$" "$0" [L]
+ <B style="color:black;background-color:#99ff99">RewriteRule</b> "^/(.*)\.(jpg|jpeg)$" "$0" [L]
- RewriteRule "^/(.*)" "http://localhost:8080/$1" [P]
+ <B style="color:black;background-color:#99ff99">RewriteRule</b> "^/(.*)" "http://localhost:8080/$1" [P]
- RewriteRule "^/static/?(.*)" "$0" [L]
+ <B style="color:black;background-color:#99ff99">RewriteRule</b> "^/static/?(.*)" "$0" [L]
- RewriteRule "^/WEB-INF/?(.*)" "$0" [L,F,NC]
+ <B style="color:black;background-color:#99ff99">RewriteRule</b> "^/WEB-INF/?(.*)" "$0" [L,F,NC]
- RewriteRule "^/(.*)\.gif$" "$0" [L]
- RewriteRule "^/(.*)\.(jpg|jpeg)$" "$0" [L]
+ <B style="color:black;background-color:#99ff99">RewriteRule</b> "^/(.*)\.gif$" "$0" [L]
+ <B style="color:black;background-color:#99ff99">RewriteRule</b> "^/(.*)\.(jpg|jpeg)$" "$0" [L]
- RewriteRule "^/(.*)" "http://localhost:8080/$1" [P]
+ <B style="color:black;background-color:#99ff99">RewriteRule</b> "^/(.*)" "http://localhost:8080/$1" [P]
- Notes from Cal - when mounting applications using reverse proxying it appears that you need to keep the url intact for state and session information to be preserved. \\
+ Notes from Cal - when mounting applications using reverse proxying it appears that you need to keep the url intact for state and <B style="color:black;background-color:#ffff66">session</b> information to be preserved. \\
?                                                                                                                                  ++++++++++++++++++++++++++++++++++++++++++++++++       ++++

- e.g. "ProxyPass /cocoon/ http://someserver.com:8080/cocoon/" works and the state examples that come with cocoon work properly \\
+ e.g. "<B style="color:black;background-color:#A0FFFF">ProxyPass</b> /cocoon/ http://someserver.com:8080/cocoon/" works and the state examples that come with cocoon work properly \\
?       ++++++++++++++++++++++++++++++++++++++++++++++++         ++++

- but "ProxyPass /proxy/cocoon/ http://someserver.com:8080/cocoon/" seems to break the state examples by inserting /proxy/ into the url. This is the same for a php application i have on another server sugesting that this is a general session thing not just specific to cocoon  
+ but "<B style="color:black;background-color:#A0FFFF">ProxyPass</b> /proxy/cocoon/ http://someserver.com:8080/cocoon/" seems to break the state examples by inserting /proxy/ into the url. This is the same for a php application i have on another server sugesting that this is a general <B style="color:black;background-color:#ffff66">session</b> thing not just specific to cocoon  
?      ++++++++++++++++++++++++++++++++++++++++++++++++         ++++                                                                                                                                                                                                                          ++++++++++++++++++++++++++++++++++++++++++++++++       ++++

- i think that the cause of the above is that servlet containers set the path property of the session cookie. the means that most browsers will not send back the cookie.
+ i think that the cause of the above is that servlet containers set the path property of the <B style="color:black;background-color:#ffff66">session</b> cookie. the means that most browsers will not send back the cookie.
?                                                                                             ++++++++++++++++++++++++++++++++++++++++++++++++       ++++