> From: Ed _ [mailto:[EMAIL PROTECTED] > Subject: Serving up Static Pages - symlink - allowLinking
Your formatting needs a lot of work. Please try to be considerate of your readers. Many people use at least one space after a period, for example. > scenario 1. - http://myhost:myport/appXYZ/docStore The above should require no special configuration if you _haven't_ done something like configured a servlet mapping of "/*" in the WEB-INF/web.xml of appXYZ. If you have done that, you've preempted Tomcat's DefaultServlet, which is the means of delivering static content. > 2. http://myhost:myport/docStore For Scenario 2 - I tried this > suggestion - > http://www.mail-archive.com/users@tomcat.apache.org/msg12528.html > I created docStore.xml as follows <Context > docBase="/opt/abc/workspace/store" ></Context>and put it > under $Catalina_Home/webapps/ That was a mistake in the previous e-mail; it should have been placed in: conf/Catalina/[host] where [host] is usually localhost unless you've changed the <Host> element in server.xml. > For the first scenario - I edited my applications > META-INF/context.html Is that a typo, or did you mean context.xml? > <Context path="/store" docBase="/opt/abc/workspace/vvavesStore" Neither the path nor docBase attributes are allowed in this situation. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]