-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 that I can map a virtual path in my web-app to
local physical path.
OS:window 7
Tomcat version:7.057
-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
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
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
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
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,
-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
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.
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
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
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
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
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
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
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
, 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
]
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
?
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
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
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
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
: 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
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
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
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
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
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
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
-
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
: 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
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
[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
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
34 matches
Mail list logo