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

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 wwwroot.xml

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
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 wwwroot.xml: ?xml

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: 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 ... docBase=/dirtest/prod_scrpts

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 INSTALL DIR/tomcat/conf 2. edited it to add Context path=/test

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

2008-10-08 Thread Scott Dunbar
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 INSTALL DIR/tomcat/conf 2

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://servername:8080/test i get the error: HTTP Status 404 - /test/ Unless you have a welcome file (e.g., index.html

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
] To: Tomcat Users List users@tomcat.apache.org 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, on a tomcat box

Re: virtual directory

2007-04-11 Thread Sylvain Roche
? Good luck [EMAIL PROTECTED] - Original Message - From: Sylvain Roche [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org 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

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

virtual directory

2007-04-10 Thread Sylvain Roche
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 something, but where

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: path-mapping url-pattern/files/*/url-pattern real-path/realdir/files/real-path /path-mapping I can't seem to find a way in Tomcat

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 Context path=/x docBase=/usr/local/crap Resources className=org.apache.naming.resources.FileDirContext

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 Context path=/x docBase=/usr/local/crap Resources className=org.apache.naming.resources.FileDirContext

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

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
- From: sumesh [mailto:[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

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
[mailto:[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 E:\Tutorial

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 Server.How can I do