Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> 9ias - "Content-Location" http header

9ias - "Content-Location" http header

From: Sean Campbell <sean_at_thefoundation.us>
Date: Fri, 14 Feb 2003 02:10:35 GMT
Message-ID: <veY2a.205$S46.59848903@newssvr12.news.prodigy.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US