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
Ooops.
This is what I currently have:
Host name=localhost appBase=webapps/
Host name=mydomain.com appBase=/home/user0/public_html
Aliaswww.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
Peter Boughton wrote:
Ooops.
This is what I currently have:
Host name=localhost appBase=webapps/
Host name=mydomain.com appBase=/home/user0/public_html
Aliaswww.mydomain.com/Alias
Context path= docBase=/home/user0/public_html reloadable=true/
/Host
What do I need to change so
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,
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 need to post your
JkUnMount /*.gif ajp13
JkUnMount /*.png ajp13
JkUnMount /*.php ajp13
Thanks,
Peter
On 9/2/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Peter Boughton [mailto:[EMAIL PROTECTED]
Subject: Re: full path of 404 file
Does the fact that it is apparently reaching
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've
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
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
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
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
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...
--
Hassan
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.
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
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
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
webroot
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
17 matches
Mail list logo