Re: How to set a virtual directory mapping

2016-08-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fung, On 8/26/16 12:58 AM, Fung wrote: > How to set a virtual directory that I can map a virtual path in my > web-app to local physical path. > > OS:window 7 Tomcat version:7.057 So you want a physical path like D:\public\files to m

How to set a virtual directory mapping

2016-08-25 Thread Fung
How to set a virtual directory that I can map a virtual path in my web-app to local physical path. OS:window 7 Tomcat version:7.057

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 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 t

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: > > > In addition to the questions André asked, one very critical one: where is that wwwroot.xml file located? - Chuck

Re: virtual directory

2013-03-21 Thread André Warnier
Tommy Pham wrote: On Thu, Mar 21, 2013 at 11:10 AM, André Warnier wrote: Manuel Fernández Panzuela wrote: To publish your wwwdoc directory you must edit sever.xml and look for tag. Inside this block write a line like:: Hi. Don't top-post. And the page which the original poster apparently

Re: virtual directory

2013-03-21 Thread Tommy Pham
On Thu, Mar 21, 2013 at 11:10 AM, André Warnier wrote: > Manuel Fernández Panzuela wrote: >> >> To publish your wwwdoc directory you must edit sever.xml and look for >> >> tag. Inside this block write a line like:: >> >> >> > Hi. > Don't top-post. > And the page which the original poster apparen

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

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 tag. Inside this block write a line like:: Hi. Don't top-post. And the page which the original poster apparently mis-read, also says (in bold) : It is NOT recommended to place elements d

Re: virtual directory

2013-03-21 Thread Manuel Fernández Panzuela
To publish your wwwdoc directory you must edit sever.xml and look for tag. Inside this block write a line like:: Don't use "debug" as André says :) Un abrazo 2013/3/21 André Warnier > Tommy Pham wrote: > >> Hi, >> >> I'm trying to s

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 Tom

virtual directory

2013-03-21 Thread Tommy Pham
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 My w

RE: Creating virtual directory in Tomcat - HTTP Status 404 ...

2008-10-14 Thread uddav
Thank you both for those information, they were very helpful. Again, thank you so much. =) Caldarale, Charles R wrote: > >> From: uddav [mailto:[EMAIL PROTECTED] >> Subject: Creating virtual directory in Tomcat - HTTP Status 404 ... >> >>

RE: Creating virtual directory in Tomcat - HTTP Status 404 ...

2008-10-08 Thread Caldarale, Charles R
> From: uddav [mailto:[EMAIL PROTECTED] > Subject: Creating virtual directory in Tomcat - HTTP Status 404 ... > > docBase="/dirtest/prod_scrpts" > URL "http://:8080/test" i get the error: > HTTP Status 404 - /test/ Unless you

Re: Creating virtual directory in Tomcat - HTTP Status 404 ...

2008-10-08 Thread Scott Dunbar
for directories which is where the 404 is coming from. uddav wrote: hello everyone, i am a novice in this field. I was trying to create a virtual directory (alias directory) in Tomcat in Solaris box. Following is what i did. 1. stopped tomcat 2. located the "server.xml" file under

Creating virtual directory in Tomcat - HTTP Status 404 ...

2008-10-08 Thread uddav
hello everyone, i am a novice in this field. I was trying to create a virtual directory (alias directory) in Tomcat in Solaris box. Following is what i did. 1. stopped tomcat 2. located the "server.xml" file under /tomcat/conf 2. edited it to add 3. added

Re: virtual directory

2007-04-12 Thread Johnny Kewl
[EMAIL PROTECTED]> Sent: Wednesday, April 11, 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 file

Re: virtual directory

2007-04-11 Thread Johnny Kewl
From: "Sylvain Roche" <[EMAIL PROTECTED]> To: "Tomcat Users List" 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 dif

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 bas

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 m

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 con

Re: virtual directory

2007-04-11 Thread Sylvain Roche
.. sounds crazy? Good luck [EMAIL PROTECTED] - Original Message - From: "Sylvain Roche" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, April 10, 2007 7:23 PM Subject: virtual directory Hi this seems a very classical problem for tomcat users, b

Re: virtual directory

2007-04-11 Thread Johnny Kewl
t; <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, April 10, 2007 7:23 PM Subject: virtual directory Hi this seems a very classical problem for tomcat users, but I couldn't find on the web a solution which satisfies me. We plan to host multiple applications,

virtual directory

2007-04-10 Thread Sylvain Roche
rformed on Oracle's OC4J with the virtual-directory directive, on weblogic with virtual-directory-mapping. Actually I found some kind of virtual directory on every j2ee server but tomcat. I can't imagine that this problem has no solution other than the cross context. I may have missed

Re: How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Barrie Selack
>There is no way currently. I have a patch on my local machine which >allows add this functionality for FileDirContext. >http://tomcat.apache.org/tomcat-5.5-doc/config/resources.html > > docBase="/usr/local/crap"> >aliases="/a1=/mypath/images;/a2=/foopath/images" /> > > >But I ha

Re: How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Tim Funk
There is no way currently. I have a patch on my local machine which allows add this functionality for FileDirContext. http://tomcat.apache.org/tomcat-5.5-doc/config/resources.html But I haven't had time to see if my patch is secure or compliant if someone uses the WebDav servlet. In the m

How do you do virtual directory / path mapping in a webapp

2007-01-10 Thread Barrie Selack
I am converting from Resin and there I can map a directory not inside the webapp to one which can be reached via a URL and translated by Resin as below: /files/* /realdir/files I can't seem to find a way in Tomcat to do that. Do I have to write my own filter? Any tips or help apprec

Tomcat Virtual Directory

2006-02-23 Thread Jason Abreu
I wrote a search application that returns database records, and based upon the key field in database, retrieve a picture from a separate picture repository on the server. My question is how can i set up my webapp to access my repository? Info: IDE- Netbeans 4.1 version- Tomcat 5.5

RE: Virtual Directory

2006-02-08 Thread Tim Lucia
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: > > > >Please read here: > >http://tomcat.apache.org/tomcat-5.5-do

Re: Virtual Directory

2006-02-08 Thread sumesh
:[EMAIL PROTECTED] Sent: Sunday, February 05, 2006 10:48 AM To: Tomcat Users List Subject: Virtual Directory Dear friends, 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 "

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 wan

Virtual Directory

2006-02-08 Thread sumesh
Dear friends, 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 Serv

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 wan

Virtual Directory

2006-02-07 Thread sumesh
Dear friends, 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 Serv

RE: Virtual Directory

2006-02-06 Thread Tim Lucia
: Sunday, February 05, 2006 10:48 AM To: Tomcat Users List Subject: Virtual Directory Dear friends, 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

Virtual Directory

2006-02-05 Thread sumesh
Dear friends, 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 Serv

Virtual Directory

2006-02-05 Thread sumesh
Dear friends, 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 Serv

Réf. : Virtual directory in Tomcat

2005-10-24 Thread Richard Leotard
Edit server.xml under /conf folder and add a contex ___ The integrity of this message cannot be guaranteed on the internet .Therefore EXANE cannot be considered responsible for the contents. If you are not the intended recipient of this message ,ple

Virtual directory in Tomcat

2005-10-24 Thread Eider Iturbe
Hi all, I'm new on working with Tomcat. I've deployed a webapp in a Tomcat container, but now I need to define a virtual directory in order to show images. How can I do that? Thanks in advance, Eider - To unsu