full path of 404 file 2007-09-02 - By Peter Boughton
Back 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 <markt@(protected)> 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@(protected) > To unsubscribe, e-mail: users-unsubscribe@(protected) > For additional commands, e-mail: users-help@(protected) > >
-- \ \ Peter Boughton blog.bpsite.net / /
|
|