Hi All, I've got a site map issue that I was wondering if someone could help me with. I've got a tomcat site going, running 4.1/jdk 1.3.x and a few VH's under the tomcat server. If I type a URL, ie http://site.com, the virtual hosting works fine. But, the minute I type in http://site.com/admin it loads up the tomcat admin section, I don't want that to happen. The site is using the Cocoon sub-system, with my site map being:
<?xml version="1.0" encoding="UTF-8"?> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> <map:pipelines> <map:pipeline> <!-- Redirections for page requests on homepage --> <map:match pattern=""> <map:redirect-to uri="index.html"/> </map:match> <map:match pattern="/"> <map:redirect-to uri="index.html"/> </map:match> <map:match pattern="protect"> <map:redirect-to uri="admin/password.html"/> </map:match> <map:match pattern="protect/"> <map:redirect-to uri="admin/password.html"/> </map:match> <map:match pattern="*.html"> <map:read src="html/{1}.html"/> </map:match> <map:match pattern="admin/*.html"> <map:read src="html/{1}.html"/> </map:match> <map:match pattern="admin/"> <map:read src="html/index.html"/> </map:match> <map:match pattern="db/*.html"> <map:generate src="xsp/{1}.xsp" type="xsp"/> <map:serialize type="html"/> </map:match> <map:match pattern="css/*.css"> <map:read src="css/{1}.css" mime-type="text/css"/> </map:match> <map:match pattern="script/*.js"> <map:read src="script/{1}.js" mime-type="text/script"/> </map:match> <map:match pattern="images/*"> <map:read src="images/{1}"/> </map:match> </map:pipeline> </map:pipelines> </map:sitemap> <!-- end of file --> As you can see the "admin" folder should be redirected to the html folder, can someone point out what I'm missing? Chris Bowlby, ----------------------------------------------------- Manager of Information and Technology. [EMAIL PROTECTED] www.hub.org 1-902-542-3657 ----------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
