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) [EMAIL PROTECTED]:/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:[EMAIL PROTECTED] @@ -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 + [EMAIL PROTECTED]:/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:[EMAIL PROTECTED]
