You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter Boughton <bo...@gmail.com> on 2007/09/01 19:46:54 UTC
full path of 404 file
Hello.
If I go to www.mydomain.com/index.jsp I get a 404 from Tomcat, despite there
definitely being an index.jsp in the webroot. I assume that means it is not
looking at the right directory.
How do I find the full filename Tomcat is looking for when producing the
404?
Thanks,
Peter
Re: full path of 404 file
Posted by Peter Boughton <bo...@gmail.com>.
I'm not really trying to use webapps at all - I want each Host to be
associated with a user account, like this:
<Host name="user1.com" appBase="/home/user1/public_html">...</Host>
<Host name="user2.com" appBase="/home/user2/public_html">...</Host>
<Host name="user3.com" appBase="/home/user3/public_html">...</Host>
On 9/2/07, Bill Barker <wb...@wilshire.com> wrote:
>
>
> "Peter Boughton" <bo...@gmail.com> wrote in message
> news:5d97c170709011218x468165a7qf19b262bbc7ede9@mail.gmail.com...
> >I mean full system path. (eg: /usr/local/jakarta/tomcat/webapps/index.jsp
> >or
> > /home/user/domain/public_html/index.jsp or whatever)
> > As far as I can tell, the appBase and docBase are correctly pointing to
> > the
> > webroot dir, but cPanel/WHM auto-configured server.xml/etc so it could
> be
> > doing anything.
> >
>
> This looks like you are attempting the common, but unsupported
> configuration
> of trying to make webapps the root of your webapp. The file should be
> something like /usr/local/jakarta/tomcat/webapps/ROOT/index.jsp.
>
> > I'm tempted to just try wiping the conf dir and manually build up from a
> > mimimal configuration...
> >
> >
> > On 9/1/07, Hassan Schroeder <ha...@gmail.com> wrote:
> >>
> >> On 9/1/07, Peter Boughton <bo...@gmail.com> wrote:
> >> > Thanks for the suggestion. I tried access logging, but it's only
> >> > listing
> >> the
> >> > "/index.jsp", not the full path.
> >>
> >> Uh, then that *is* the full path; sounds like you need to double-check
> >> your Tomcat appBase/docBase/etc. configuration...
> >>
> >> --
> >> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
> >>
> >> ---------------------------------------------------------------------
> >> To start a new topic, e-mail: users@tomcat.apache.org
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
> >
> > --
> > \ \
> > Peter Boughton
> > blog.bpsite.net
> > / /
> >
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
\ \
Peter Boughton
blog.bpsite.net
/ /
Re: full path of 404 file
Posted by Bill Barker <wb...@wilshire.com>.
"Peter Boughton" <bo...@gmail.com> wrote in message
news:5d97c170709011218x468165a7qf19b262bbc7ede9@mail.gmail.com...
>I mean full system path. (eg: /usr/local/jakarta/tomcat/webapps/index.jsp
>or
> /home/user/domain/public_html/index.jsp or whatever)
> As far as I can tell, the appBase and docBase are correctly pointing to
> the
> webroot dir, but cPanel/WHM auto-configured server.xml/etc so it could be
> doing anything.
>
This looks like you are attempting the common, but unsupported configuration
of trying to make webapps the root of your webapp. The file should be
something like /usr/local/jakarta/tomcat/webapps/ROOT/index.jsp.
> I'm tempted to just try wiping the conf dir and manually build up from a
> mimimal configuration...
>
>
> On 9/1/07, Hassan Schroeder <ha...@gmail.com> wrote:
>>
>> On 9/1/07, Peter Boughton <bo...@gmail.com> wrote:
>> > Thanks for the suggestion. I tried access logging, but it's only
>> > listing
>> the
>> > "/index.jsp", not the full path.
>>
>> Uh, then that *is* the full path; sounds like you need to double-check
>> your Tomcat appBase/docBase/etc. configuration...
>>
>> --
>> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
> --
> \ \
> Peter Boughton
> blog.bpsite.net
> / /
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: full path of 404 file
Posted by Peter Boughton <bo...@gmail.com>.
Only error/warning I can see in catalina.out is this:
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location - find_vma failed
Dunno what that means, but a quick google suggests it can be ignored.
On 9/1/07, Hassan Schroeder <ha...@gmail.com> wrote:
>
> On 9/1/07, Peter Boughton <bo...@gmail.com> wrote:
> > I mean full system path. (eg:
> /usr/local/jakarta/tomcat/webapps/index.jsp or
> > /home/user/domain/public_html/index.jsp or whatever)
> > As far as I can tell, the appBase and docBase are correctly pointing to
> the
> > webroot dir, but cPanel/WHM auto-configured server.xml/etc so it could
> be
> > doing anything.
>
> If the appBase and docBase are set properly, you know where your
> files are :-) but anything done by some third-party control panel --
> I'd be suspicious, anyway.
>
> Did you look in your catalina.out for startup errors or warnings?
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
\ \
Peter Boughton
blog.bpsite.net
/ /
Re: full path of 404 file
Posted by Hassan Schroeder <ha...@gmail.com>.
On 9/1/07, Peter Boughton <bo...@gmail.com> wrote:
> I mean full system path. (eg: /usr/local/jakarta/tomcat/webapps/index.jsp or
> /home/user/domain/public_html/index.jsp or whatever)
> As far as I can tell, the appBase and docBase are correctly pointing to the
> webroot dir, but cPanel/WHM auto-configured server.xml/etc so it could be
> doing anything.
If the appBase and docBase are set properly, you know where your
files are :-) but anything done by some third-party control panel --
I'd be suspicious, anyway.
Did you look in your catalina.out for startup errors or warnings?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: full path of 404 file
Posted by Peter Boughton <bo...@gmail.com>.
> > I don't have a WEB-INF directory created yet - it does get auto-created,
> > right?
>
> No.
Ooops. :$
I created WEB-INF, chmod-ed, and it starts working now.
(Well, the CFMLServlet works, the JSP servlet doesn't, but I don't really
need that so I'm content to leave it.)
Thanks to everyone for all the help & suggestions. :)
Peter
On 9/2/07, Hassan Schroeder <ha...@gmail.com> wrote:
>
> On 9/2/07, Peter Boughton <bo...@gmail.com> wrote:
>
> > I don't have a WEB-INF directory created yet - it does get auto-created,
> > right?
>
> No.
>
> > Anyway, here's /usr/local/jakarta/tomcat/conf/web.xml
>
> You shouldn't have to touch this at all, and I certainly wouldn't make
> any changes there until you've got your basic config working.
>
> > ... I should probably say that I'm doing this via mod_jk from Apache,
>
> Yes, you probably should :-) and you absolutely should get your
> webapp working properly through direct access first.
>
> It will simplify your debugging immensely...
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
\ \
Peter Boughton
blog.bpsite.net
/ /
Re: full path of 404 file
Posted by Hassan Schroeder <ha...@gmail.com>.
On 9/2/07, Peter Boughton <bo...@gmail.com> wrote:
> I don't have a WEB-INF directory created yet - it does get auto-created,
> right?
No.
> Anyway, here's /usr/local/jakarta/tomcat/conf/web.xml
You shouldn't have to touch this at all, and I certainly wouldn't make
any changes there until you've got your basic config working.
> ... I should probably say that I'm doing this via mod_jk from Apache,
Yes, you probably should :-) and you absolutely should get your
webapp working properly through direct access first.
It will simplify your debugging immensely...
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: full path of 404 file
Posted by Peter Boughton <bo...@gmail.com>.
That's a good idea. :)
I don't have a WEB-INF directory created yet - it does get auto-created,
right?
Anyway, here's /usr/local/jakarta/tomcat/conf/web.xml (with a few million
mime types snipped out):
============
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<!-- This document defines default values for *all* web applications
-->
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet>
<servlet-name>CFMLServlet</servlet-name>
<servlet-class>railo.runtime.servlet.MultiWebCFMLServlet
</servlet-class>
<init-param>
<param-name>configuration</param-name>
<param-value>/WEB-INF/railo/</param-value>
<description>Configuration directory</description>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CFMLServlet</servlet-name>
<url-pattern>*.cfm</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CFMLServlet</servlet-name>
<url-pattern>*.cfml</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CFMLServlet</servlet-name>
<url-pattern>*.cfc</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping> <extension>abs</extension>
<mime-type>audio/x-mpeg</mime-type> </mime-mapping>
[snip]
<mime-mapping> <extension>zip</extension>
<mime-type>application/zip</mime-type> </mime-mapping>
<welcome-file-list>
<welcome-file>index.cfml</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.cfm</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
============
And this is /usr/local/jakarta/tomcat/conf/server.xml:
============
<Server port="8005" shutdown="SHUTDOWN">
<GlobalNamingResources>
<!-- Used by Manager webapp -->
<Resource
name="UserDatabase"
auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml"
/>
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8080"
enableLookups="false"
redirectPort="8443"
/>
<Connector port="8009"
enableLookups="false"
redirectPort="8443"
protocol="AJP/1.3"
/>
<Engine name="Catalina" defaultHost="localhost">
<Realm
className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"
/>
<Host name="localhost" appBase="webapps"/>
<Host name="domain.com" appBase="/home/hybrid/public_html">
<Alias>www.domain.com</Alias>
<Context path="" docBase="./" reloadable="true"/>
</Host>
<!--
<Host name="domain.com" appBase="/home/hybrid/webapps">
<Alias>www.domain.com</Alias>
</Host>
-->
</Engine>
</Service>
</Server>
============
And In the interests of making sure I'm giving enough information, I should
probably say that I'm doing this via mod_jk from Apache, so if it's useful
then here's my /usr/local/apache/conf/jk.conf file:
============
JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat +ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkAutoAlias /usr/local/jakarta/tomcat/webapps
JkMount /* ajp13
JkUnMount /*.html ajp13
JkUnMount /*.jpg ajp13
JkUnMount /*.gif ajp13
JkUnMount /*.png ajp13
JkUnMount /*.php ajp13
============
Thanks,
Peter
On 9/2/07, Caldarale, Charles R <Ch...@unisys.com> wrote:
>
> > From: Peter Boughton [mailto:boughtonp@gmail.com]
> > Subject: Re: full path of 404 file
> >
> > Does the fact that it is apparently reaching the right
> > directory now mean that this is more likely to be a new
> > problem with web.xml rather than server.xml?
>
> Sounds like you really need to post your server.xml and WEB-INF/web.xml
> files, rather than just hinting about them. Also, is there anything in
> the WEB-INF/lib or WEB-INF/classes directories (e.g., precompiled JSPs)?
>
> - 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
\ \
Peter Boughton
blog.bpsite.net
/ /
RE: full path of 404 file
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Peter Boughton [mailto:boughtonp@gmail.com]
> Subject: Re: full path of 404 file
>
> Does the fact that it is apparently reaching the right
> directory now mean that this is more likely to be a new
> problem with web.xml rather than server.xml?
Sounds like you really need to post your server.xml and WEB-INF/web.xml
files, rather than just hinting about them. Also, is there anything in
the WEB-INF/lib or WEB-INF/classes directories (e.g., precompiled JSPs)?
- 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: full path of 404 file
Posted by Peter Boughton <bo...@gmail.com>.
Ok, tried using that configuration, but I'm still getting the 405 method not
supported error for any jsp file.
Does the fact that it is apparently reaching the right directory now mean
that this is more likely to be a new problem with web.xml rather than
server.xml?
Thanks,
Peter
On 9/2/07, Mark Thomas <ma...@apache.org> wrote:
>
> Peter Boughton wrote:
> > Ooops.
> > This is what I currently have:
> > <Host name="localhost" appBase="webapps"/>
> > <Host name="mydomain.com" appBase="/home/user0/public_html">
> > <Alias>www.mydomain.com</Alias>
> > <Context path="" docBase="/home/user0/public_html"
> reloadable="true"/>
> > </Host>
> >
> > What do I need to change so that mydomain.com/whatever will load
> > /home/user0/public_html/whatever ?
>
> I would use:
> <Host name="localhost" appBase="webapps"/>
> <Host name="mydomain.com" appBase="/home/user0/webapps">
> <Alias>www.mydomain.com</Alias>
> </Host>
>
> and not define any contexts in server.xml
>
> Contents for the root web application would then be placed in
> /home/user0/webapps/ROOT
>
> context for the foobar context in
> /home/user0/webapps/foobar
>
> etc
>
> Mark
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
\ \
Peter Boughton
blog.bpsite.net
/ /
Re: full path of 404 file
Posted by Mark Thomas <ma...@apache.org>.
Peter Boughton wrote:
> Ooops.
> This is what I currently have:
> <Host name="localhost" appBase="webapps"/>
> <Host name="mydomain.com" appBase="/home/user0/public_html">
> <Alias>www.mydomain.com</Alias>
> <Context path="" docBase="/home/user0/public_html" reloadable="true"/>
> </Host>
>
> What do I need to change so that mydomain.com/whatever will load
> /home/user0/public_html/whatever ?
I would use:
<Host name="localhost" appBase="webapps"/>
<Host name="mydomain.com" appBase="/home/user0/webapps">
<Alias>www.mydomain.com</Alias>
</Host>
and not define any contexts in server.xml
Contents for the root web application would then be placed in
/home/user0/webapps/ROOT
context for the foobar context in
/home/user0/webapps/foobar
etc
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: full path of 404 file
Posted by Peter Boughton <bo...@gmail.com>.
Ooops.
This is what I currently have:
<Host name="localhost" appBase="webapps"/>
<Host name="mydomain.com" appBase="/home/user0/public_html">
<Alias>www.mydomain.com</Alias>
<Context path="" docBase="/home/user0/public_html" reloadable="true"/>
</Host>
What do I need to change so that mydomain.com/whatever will load
/home/user0/public_html/whatever ?
On 9/2/07, Mark Thomas <ma...@apache.org> wrote:
>
> Peter Boughton wrote:
> > As far as I can tell, the appBase and docBase are correctly pointing to
> the
> > webroot dir,
>
> and there is the problem. appBase == docBase will result in all sorts
> of pain and grief. The appBase should never point to the root of any
> web application.
>
> Mark
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
\ \
Peter Boughton
blog.bpsite.net
/ /
Re: full path of 404 file
Posted by Mark Thomas <ma...@apache.org>.
Peter Boughton wrote:
> As far as I can tell, the appBase and docBase are correctly pointing to the
> webroot dir,
and there is the problem. appBase == docBase will result in all sorts
of pain and grief. The appBase should never point to the root of any
web application.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: full path of 404 file
Posted by Peter Boughton <bo...@gmail.com>.
I mean full system path. (eg: /usr/local/jakarta/tomcat/webapps/index.jsp or
/home/user/domain/public_html/index.jsp or whatever)
As far as I can tell, the appBase and docBase are correctly pointing to the
webroot dir, but cPanel/WHM auto-configured server.xml/etc so it could be
doing anything.
I'm tempted to just try wiping the conf dir and manually build up from a
mimimal configuration...
On 9/1/07, Hassan Schroeder <ha...@gmail.com> wrote:
>
> On 9/1/07, Peter Boughton <bo...@gmail.com> wrote:
> > Thanks for the suggestion. I tried access logging, but it's only listing
> the
> > "/index.jsp", not the full path.
>
> Uh, then that *is* the full path; sounds like you need to double-check
> your Tomcat appBase/docBase/etc. configuration...
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
\ \
Peter Boughton
blog.bpsite.net
/ /
Re: full path of 404 file
Posted by Hassan Schroeder <ha...@gmail.com>.
On 9/1/07, Peter Boughton <bo...@gmail.com> wrote:
> Thanks for the suggestion. I tried access logging, but it's only listing the
> "/index.jsp", not the full path.
Uh, then that *is* the full path; sounds like you need to double-check
your Tomcat appBase/docBase/etc. configuration...
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: full path of 404 file
Posted by Peter Boughton <bo...@gmail.com>.
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.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 <ha...@gmail.com> wrote:
>
> On 9/1/07, Peter Boughton <bo...@gmail.com> 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@gmail.com
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
\ \
Peter Boughton
blog.bpsite.net
/ /
Re: full path of 404 file
Posted by Hassan Schroeder <ha...@gmail.com>.
On 9/1/07, Peter Boughton <bo...@gmail.com> 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@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org