Re: full path of 404 file

2007-09-02 Thread Peter Boughton
> > 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

Re: full path of 404 file

2007-09-02 Thread Hassan Schroeder
On 9/2/07, Peter Boughton <[EMAIL PROTECTED]> 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

Re: full path of 404 file

2007-09-02 Thread Peter Boughton
/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 <[EMAIL PROTECTED]> wrote: > > > From: Peter Boughton

RE: full path of 404 file

2007-09-02 Thread Caldarale, Charles R
> From: Peter Boughton [mailto:[EMAIL PROTECTED] > 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

Re: full path of 404 file

2007-09-02 Thread Peter Boughton
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, Ma

Re: full path of 404 file

2007-09-02 Thread Mark Thomas
Peter Boughton wrote: > Ooops. > This is what I currently have: > > > www.mydomain.com > > > > What do I need to change so that mydomain.com/whatever will load > /home/user0/public_html/whatever ? I would use: www.mydomain.com and not define any contexts in server.xml Content

Re: full path of 404 file

2007-09-02 Thread Peter Boughton
Ooops. This is what I currently have: www.mydomain.com What do I need to change so that mydomain.com/whatever will load /home/user0/public_html/whatever ? On 9/2/07, Mark Thomas <[EMAIL PROTECTED]> wrote: > > Peter Boughton wrote: > > As far as I can tell, the appBase and docBase are

Re: full path of 404 file

2007-09-02 Thread Peter Boughton
I'm not really trying to use webapps at all - I want each Host to be associated with a user account, like this: ... ... ... On 9/2/07, Bill Barker <[EMAIL PROTECTED]> wrote: > > > "Peter Boughton" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >I mean full system path. (eg: /usr/

Re: full path of 404 file

2007-09-01 Thread Mark Thomas
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 ---

Re: full path of 404 file

2007-09-01 Thread Bill Barker
"Peter Boughton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >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 > we

Re: full path of 404 file

2007-09-01 Thread Peter Boughton
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 <[EMAIL PROTECTED]> wrote: > > On 9/1/07, Peter

Re: full path of 404 file

2007-09-01 Thread Hassan Schroeder
On 9/1/07, Peter Boughton <[EMAIL PROTECTED]> 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

Re: full path of 404 file

2007-09-01 Thread Peter Boughton
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'

Re: full path of 404 file

2007-09-01 Thread Hassan Schroeder
On 9/1/07, Peter Boughton <[EMAIL PROTECTED]> 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... -- Hassa

Re: full path of 404 file

2007-09-01 Thread Peter Boughton
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 Are there any

Re: full path of 404 file

2007-09-01 Thread Hassan Schroeder
On 9/1/07, Peter Boughton <[EMAIL 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