Re: virtual directory

2013-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tommy, On 3/21/13 5:00 PM, Tommy Pham wrote: Silly me... I figured out what was the issue. I didn't have the index page defined in Tomcat's web.xml within the D:\wwwroot. The eventual content of this folder will be images anyway. Would I

Re: virtual directory

2013-03-21 Thread André Warnier
Tommy Pham wrote: Hi, I'm trying to setup my virtual directory wwwroot as http://localhost/wwwroot/ mapped to d:\wwwroot but I'm getting HTTP Status 404 - /wwwroot/ type Status report message /wwwroot/ description The requested resource (/wwwroot/) is not available. Apache Tomcat/7.0.26

Re: virtual directory

2013-03-21 Thread Manuel Fernández Panzuela
To publish your wwwdoc directory you must edit sever.xml and look for Host tag. Inside this block write a line like:: Context docBase=D:/wwwroot path=/wwwroot reloadable=true / Don't use debug as André says :) Un abrazo 2013/3/21 André Warnier a...@ice-sa.com Tommy Pham wrote: Hi, I'm

Re: virtual directory

2013-03-21 Thread André Warnier
Manuel Fernández Panzuela wrote: To publish your wwwdoc directory you must edit sever.xml and look for Host tag. Inside this block write a line like:: Context docBase=D:/wwwroot path=/wwwroot reloadable=true / Hi. Don't top-post. And the page which the original poster apparently mis-read,

Re: virtual directory

2013-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tommy, On 3/21/13 1:23 PM, Tommy Pham wrote: I'm trying to setup my virtual directory wwwroot as http://localhost/wwwroot/ mapped to d:\wwwroot but I'm getting HTTP Status 404 - /wwwroot/ type Status report message /wwwroot/

Re: virtual directory

2013-03-21 Thread Tommy Pham
On Thu, Mar 21, 2013 at 11:10 AM, André Warnier a...@ice-sa.com wrote: Manuel Fernández Panzuela wrote: To publish your wwwdoc directory you must edit sever.xml and look for Host tag. Inside this block write a line like:: Context docBase=D:/wwwroot path=/wwwroot reloadable=true / Hi.

Re: virtual directory

2013-03-21 Thread André Warnier
Tommy Pham wrote: On Thu, Mar 21, 2013 at 11:10 AM, André Warnier a...@ice-sa.com wrote: Manuel Fernández Panzuela wrote: To publish your wwwdoc directory you must edit sever.xml and look for Host tag. Inside this block write a line like:: Context docBase=D:/wwwroot path=/wwwroot

RE: virtual directory

2013-03-21 Thread Caldarale, Charles R
From: Tommy Pham [mailto:tommy...@gmail.com] Subject: Re: virtual directory I'm still getting the 404 error with this wwwroot.xml: ?xml version=1.0 encoding=ISO-8859-1? Context docBase=D:/wwwroot /Context In addition to the questions André asked, one very critical one: where

Re: virtual directory

2013-03-21 Thread Tommy Pham
Hi Chuck and Andre, Silly me... I figured out what was the issue. I didn't have the index page defined in Tomcat's web.xml within the D:\wwwroot. The eventual content of this folder will be images anyway. Would I need to code an interceptor to detect 404 error and path to redirect the visitor

Re: virtual directory

2007-04-12 Thread Johnny Kewl
, 2007 11:12 PM Subject: Re: virtual directory I dont know... I think you have be spoilt by linux windows shortcuts just dont equal linux soft links... hey! :) I see what you saying even if say you made a little servlet that could suck files from anywhere, how does the calling program see

Re: virtual directory

2007-04-11 Thread Johnny Kewl
Hi sylvian When developing I do this request.getContextPath() + uri; but I wrap the request.getContextPath() in a little routine like say imageMap(String uri) and use that in my JSP's Thats cool because if I change the context path the app doesnt break... BUT... I do it for a much

Re: virtual directory

2007-04-11 Thread Sylvain Roche
Hi Johnny, hi everybody I took the images example to explain and simplify the problem, but actually I may need to include different contents, which may be static - like images, flash animations, html pages - but may also be jsp pages for exemple, and some of these contents are likely to be

Re: virtual directory

2007-04-11 Thread Hassan Schroeder
On 4/11/07, Sylvain Roche [EMAIL PROTECTED] wrote: I took the images example to explain and simplify the problem, but Regardless, I don't understand what you're trying to do -- do you want to have e.g. example.com/foo/images example.com/bar/images where 'images' points to the same

Re: virtual directory

2007-04-11 Thread Sylvain Roche
The symlink solution could work, except that it is not what I want to do. The production application is hosted on linux servers, but we also have to deal with the developpers' computers, which runs windows What I need basically il to have a subdirectory of my webapp located somewhere else on

Re: virtual directory

2007-04-11 Thread Hassan Schroeder
On 4/11/07, Sylvain Roche [EMAIL PROTECTED] wrote: The symlink solution could work, except that it is not what I want to do. The production application is hosted on linux servers, but we also have to deal with the developpers' computers, which runs windows That's fixable :-) What I need

Re: virtual directory

2007-04-11 Thread Johnny Kewl
: Sylvain Roche [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, April 11, 2007 4:16 PM Subject: Re: virtual directory Hi Johnny, hi everybody I took the images example to explain and simplify the problem, but actually I may need to include different contents, which

RE: Virtual Directory

2006-02-08 Thread Caldarale, Charles R
From: sumesh [mailto:[EMAIL PROTECTED] Subject: Virtual Directory How can I create a Virtual Directory in Apache Tomcat? I have installed tomcat in C:\Program Files\Apache Group\Tomcat 4.1 and I have some Tutorials in E:\Tutorial .I want to publish the same using the same Web

Re: Virtual Directory

2006-02-08 Thread sumesh
Tim Lucia wrote: Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat 4.1\webapps\ directory. It should contain at least the following: context docBase=E:\Tutorial... Please read here: http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html -Original

RE: Virtual Directory

2006-02-08 Thread Tim Lucia
: Wednesday, February 08, 2006 10:40 AM To: Tomcat Users List Subject: Re: Virtual Directory Tim Lucia wrote: Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat 4.1\webapps\ directory. It should contain at least the following: context docBase=E:\Tutorial... Please read here: http

RE: Virtual Directory

2006-02-07 Thread Caldarale, Charles R
From: sumesh [mailto:[EMAIL PROTECTED] Subject: Virtual Directory How can I create a Virtual Directory in Apache Tomcat? I have installed tomcat in C:\Program Files\Apache Group\Tomcat 4.1 and I have some Tutorials in E:\Tutorial .I want to publish the same using the same Web

RE: Virtual Directory

2006-02-06 Thread Tim Lucia
Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat 4.1\webapps\ directory. It should contain at least the following: context docBase=E:\Tutorial... Please read here: http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html -Original Message- From: sumesh