full path of 404 file 2007-09-01 - By Peter Boughton
Back Thanks for the suggestion. I tried access logging, but it's only listing the "/index.jsp", not the full path.
Was using this page as reference: http://tomcat.apache.org/tomcat-5 (See http://cat-5.ora-code.com).5-doc/config/valve.html#Access%20Log%20Valve
And put this in the appropriate Host section of server.xml <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="domain.com_access_log." suffix=".txt" pattern="%t %m %a %A %h %H %p %q %s %U %v %D" resolveHosts="false"/>
Are there any other patterns that I'm missing?
I'll see if I can get a custom 404 working.
Thanks,
Peter
On 9/1/07, Hassan Schroeder <hassan.schroeder@(protected)> wrote: > > On 9/1/07, Peter Boughton <boughtonp@(protected)> wrote: > > > How do I find the full filename Tomcat is looking for when producing the > > 404? > > You could turn on access logging, or you could set up a custom > 404 page to return whatever you think pertinent. > > Of course, if the system doesn't find your custom 404, you're back > to access logging, so ... :-) > > HTH, > -- > Hassan Schroeder -- ---- ---- ---- ------ hassan.schroeder@(protected) > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To start a new topic, e-mail: users@(protected) > To unsubscribe, e-mail: users-unsubscribe@(protected) > For additional commands, e-mail: users-help@(protected) > >
-- \ \ Peter Boughton blog.bpsite.net / /
|
|