users@glassfish.java.net
Re: unable to get working alternate docroots
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: <
glassfish_at_javadesktop.org
>
Date
: Sun, 10 Feb 2008 13:36:18 PST
see also my response at
http://forums.java.net/jive/thread.jspa?messageID=252325𽦥
which should help.
going back to your example:
property name: alternatedocroot_1
property value: from=/myimages/* dir=/images
request url: "
http://localhost:8080/myimages/image1.jpg
"
i assume your webapp has been deployed at the root context "/"?
if so, the request's path info equals "/myimages/image1.jpg", meaning the target resource path is given as
"/images" (the dir component of your alternate docroot definition)
+ "/myimages/image1.jpg" (the request's path info)
resulting in
"/images/myimages/image1.jpg"
does this resource exist in your local filesystem?
[Message sent by forum member 'jluehe' (jluehe)]
http://forums.java.net/jive/thread.jspa?messageID=258260
This message
: [
Message body
]
Next message
:
glassfish_at_javadesktop.org: "Re: System setup recommendations"
Previous message
:
glassfish_at_javadesktop.org: "Handle Multiple Domain Names To One IP Address"
In reply to
:
glassfish_at_javadesktop.org: "unable to get working alternate docroots"
Next in thread
:
glassfish_at_javadesktop.org: "Re: unable to get working alternate docroots"
Reply
:
glassfish_at_javadesktop.org: "Re: unable to get working alternate docroots"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]