For posterity, etc... I try to seek feedback as a learning process for myself and others. Feel free to comment:
I have deployed the server-noexamples.xml.config successfully in my development environment. The reason for the no examples deployment of course is to deny crackers any unknown security holes in webapps/contexts found in the development/standard Tomcat 4.0.x installation. I tar'd the following: ROOT/ webdav/ tomcat-docs/ manager/ examples/ and removed them from the webapps directory. This left only the ./luceneweb directory for the Lucene full-text search (demo). I renamed the default ./conf/server.xml file: % mv server.xml server.xml.orig I renamed the no examples configuration % mv server-noexamples.xml.config server.xml I checked the new server.xml for items that needed further tweaking to match the original server.xml file, i.e. ports, connectors, etc. This also included commenting out the Manager context still found in the new server.xml. Restarted tomcat. All looks well; I'll continue some testing throughout the day before promoting to production environments. Thanks for the help/support that may be in the works. Warmest Regards, Tim -- /** * Timothy Stone . Sun Certified Java Programmer * Web Master . tstone at cityofhbg dot com * City of Harrisburg . 717.255.7297 * Pennsylvania USA . 717.903.9162 * * "This Satan's drink [coffee] is so delicious, * we shall cheat Satan and baptize it." * --Pope Clement VIII */ > -----Original Message----- > From: Stone, Timothy > Sent: Tuesday, November 12, 2002 11:36 > To: [EMAIL PROTECTED] > Subject: Removing default Contexts in production... > > > List, > > I'm deploying the rather simple Lucene demo on Tomcat 4.0.6. > I would like to remove the examples and ROOT contexts to > further harden the development deployment on the production servers. > > I see a /conf/server-noexamples.xml.config file that seems to > provide exactly what I'm looking for. Is this correct? > > May I also remove the Manager context/webapp without > adversely affecting deployment? > > Thanks for your feedback in advance. > > Warmest Regards, > Tim > > -- > /** > * Timothy Stone . Sun Certified Java Programmer > * Web Master . tstone at cityofhbg dot com > * City of Harrisburg . 717.255.7297 > * Pennsylvania USA . 717.903.9162 > * > * "This Satan's drink [coffee] is so delicious, > * we shall cheat Satan and baptize it." > * --Pope Clement VIII > */ > > -- > To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
