You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by Apache Wiki <wi...@apache.org> on 2005/12/31 13:38:48 UTC

[Cocoon Wiki] Update of "CocoonEasyInstallation" by ViPi

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by ViPi:
http://wiki.apache.org/cocoon/CocoonEasyInstallation

The comment on the change is:
Moving the hosts file thing into the main section and add ref to ApacheModProxy

------------------------------------------------------------------------------
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
  Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)
  mdriftmeyer@horus:/etc$
- }}}
- 
- 4. Edit /etc/hosts to include a reference to cocoon which allows hostname to be resolved.
- 
- {{{
- 127.0.0.1 localhost.localdomain localhost horus cocoon
  }}}
  
  - Marc J. Driftmeyer mailto:mjd@reanimality.com
@@ -210, +204 @@

  {{{
  <Engine defaultHost="cocoon" name="Catalina">
  }}}
- So that, excluded all the comments, Catalina now looks like
+ So that, excluded all the comments, the engine "Catalina" now looks like
  {{{
  <Engine defaultHost="cocoon" name="Catalina">
  
@@ -231, +225 @@

  
  </Engine>
  }}}
- Save your changes, close "server.xml" and restart Tomcat
+ Save your changes and close "server.xml". 
+ == Add cocoon to your /etc/hosts file ==
+ {{{
+ 127.0.0.1 localhost cocoon anyhost otherhost onemorehost
+ }}}
+ == Restart Tomcat and then become normal user ==
  {{{
  linux:/opt/jakarta-tomcat-5/conf # cd ..
  linux:/opt/jakarta-tomcat-5 # bin/startup.sh
@@ -240, +239 @@

  Using CATALINA_TMPDIR: /opt/jakarta-tomcat-5/temp
  Using JAVA_HOME:       /usr/lib/java
  linux:/opt/jakarta-tomcat-5 #
+ linux:/opt/jakarta-tomcat-5 # exit
+ exit
+ otto@linux:/opt/jakarta-tomcat-5>
  }}}
- Now it's done. Become normal user and start your browser. If you follow the link [http://cocoon:8080/] it should now take you to Cocoon's welcome page whereas [http://localhost:8080/] still will go to Tomcat's welcome page with its docs and examples. 
+ Start your browser and follow the link [http://cocoon:8080/]. It should now take you to Cocoon's welcome page whereas [http://localhost:8080/] still will go to Tomcat's welcome page with its docs and examples. 
- But, as we changed Catalina's default host to Cocoon, now any other [http://anyhost:8080/] will go to Cocoon as well. We will use this feature for doing [http://wiki.apache.org/cocoon/VirtualHostingHostMatcher "virtual hosting with Cocoon"].
+ And, as we changed Catalina's default host to Cocoon, now any other [http://anyhost:8080/] will go to Cocoon as well. We will use this feature for doing [http://wiki.apache.org/cocoon/VirtualHostingHostMatcher "virtual hosting with Cocoon"].
+ 
+ If you like to get rid of ''':8080''' in the url, please read the very excellent ApacheModProxy guide.
  
  mailto:volkmar@pogatzki.net