Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> 9ias - "Content-Location" http header
Does anyone know how to override the
"Content-Location" http header. We are having issues with search engines and
this header being returned from Apache/oc4j. In a nutshell, I have a site
that uses the
Struts framework, where the actual urls submitted would be for example
(http://mysite/home.do), where ".do" is just a servlet mapping. When we have
tried to follow the one link that has been spidered, it actually contains
the full path that appears in the "Content-Location" header (i.e.
http://mysite/web-inf/jsps/bogus.jsp) which in this case can't even be
accessed. The feedback we get from third-party utilities that try to spider
the site is that it is stopping because it has already indexed "bogus.jsp",
which in reality will always appear since it is a template, where the actual
urls will be different as is above.
Solutions tried:
mod_headers in Apache - have tried "Header unset" HttpServletResponse.setHeader()
Any help would be appreciated Received on Thu Feb 13 2003 - 20:10:35 CST
![]() |
![]() |