Re: how to replace apache's mod_alias

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis, On 10/13/2009 11:30 AM, Dennis Christopher wrote: Is there any documentation on how to replace the alias elements in httpd.conf with corresponding elements in Tomcat's configuration? Not directly. But if you describe what you want to do,

Re: how to replace apache's mod_alias

2009-10-15 Thread Dennis Christopher
Thanks for the reply Chris. what I want to do: I am running Tomcat as a standalone server on OSX. My application had been previously set up with apache serving in front of Tomcat. My application is a context element '/myapp' accessed via server address/myapp. Within the app's jsps are

Re: how to replace apache's mod_alias

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis, On 10/15/2009 11:15 AM, Dennis Christopher wrote: My application is a context element '/myapp' accessed via server address/myapp. Within the app's jsps are references to files in a folder 'myapp-web' whose real location on the server

Re: how to replace apache's mod_alias

2009-10-15 Thread Dennis Christopher
Chris, the user accesses my jsps via http://host/my-app. The jsps include references of the form below, as request dumper valve tells me: /myapp-web/styles/images/mylogo.jsp where myapp-web is a directory elsewhere on the system. so the full path reference style is never done as such.

Re: how to replace apache's mod_alias

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis, (No need to CC me directly at all; I get all the messages through the mailing list). On 10/15/2009 12:03 PM, Dennis Christopher wrote: the user accesses my jsps via http://host/my-app. The jsps include references of the form below, as

RE: how to replace apache's mod_alias

2009-10-15 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: how to replace apache's mod_alias Create a file under CATALINA_BASE/conf/[service]/[host]/myapp-web.xml that contains the following: Context appBase=/library/webserver/documents / That should be docBase

Re: how to replace apache's mod_alias

2009-10-15 Thread Dennis Christopher
: Re: how to replace apache's mod_alias Create a file under CATALINA_BASE/conf/[service]/[host]/myapp-web.xml that contains the following: Context appBase=/library/webserver/documents / That should be docBase, not appBase. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: how to replace apache's mod_alias

2009-10-15 Thread Caldarale, Charles R
From: Dennis Christopher [mailto:dchristop...@pixion.com] Subject: Re: how to replace apache's mod_alias Next, and maybe I didnt follow directions properly, I added the directory conf/localhost which then contained myapp-web.xml with the (pathless) context below. Close, but that needs

Re: how to replace apache's mod_alias

2009-10-15 Thread Dennis Christopher
Thanks Charles and Chris -- that works! Dennis On Oct 15, 2009, at 2:06 PM, Caldarale, Charles R wrote: From: Dennis Christopher [mailto:dchristop...@pixion.com] Subject: Re: how to replace apache's mod_alias Next, and maybe I didnt follow directions properly, I added the directory conf

Re: how to replace apache's mod_alias

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/15/2009 1:07 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: how to replace apache's mod_alias Create a file under CATALINA_BASE/conf/[service]/[host]/myapp-web.xml