Virtual directories / mappings

I’m not 100% how to configure virtual directories using Lucee :frowning:
I see mappings under the REST/ mappings menu and under the Archive &
Resources mappings menu ? Which one is the correct one for virtual
directories?

Where do :
{lucee-server}
{lucee-server}/context/

and
{lucee-config}/context/

map to ?

I want to localhost:8888/applicationA to map to /www/applicationA and that
any references eg a href="/blah" map to the root of that directory.

Thanks,

Yes you are in the right place, just go ahead and add your mapping there,
specifying “applicationA” as your virtual and “/www/applicationA” as your
resource.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon
mso http://www.mso.net - Lucee http://lucee.org - MemberOn 17 February 2015 at 21:40, DMan <@DMan> wrote:

I’m not 100% how to configure virtual directories using Lucee :frowning:
I see mappings under the REST/ mappings menu and under the Archive &
Resources mappings menu ? Which one is the correct one for virtual
directories?

Where do :
{lucee-server}
{lucee-server}/context/

and
{lucee-config}/context/

map to ?

I want to localhost:8888/applicationA to map to /www/applicationA and that
any references eg a href="/blah" map to the root of that directory.

Thanks,


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/bbd68d70-87ab-47f5-8c89-a8261d498380%40googlegroups.com
https://groups.google.com/d/msgid/lucee/bbd68d70-87ab-47f5-8c89-a8261d498380%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

I’m trying
virtual : /components
Resource:
/Users/username/Downloads/lucee-4.5.1.000-express/webapps/ROOT/website

however when I goto http://localhost:8888/components I get a

HTTP Status 404 - /components

type Status report

message /components

description The requested resource is not available.------------------------------
Apache Tomcat/8.0.15

back from Tomcat.

On Tuesday, February 17, 2015 at 9:40:17 PM UTC, DMan wrote:

I’m not 100% how to configure virtual directories using Lucee :frowning:
I see mappings under the REST/ mappings menu and under the Archive &
Resources mappings menu ? Which one is the correct one for virtual
directories?

Where do :
{lucee-server}
{lucee-server}/context/

and
{lucee-config}/context/

map to ?

I want to localhost:8888/applicationA to map to /www/applicationA and that
any references eg a href="/blah" map to the root of that directory.

Thanks,

maybe something like the following in your tomcat server.xml:

www.lucee.org my.lucee.org

Warm Regards,
Jordan MichaelsOn 02/17/2015 01:45 PM, DMan wrote:

I’m trying
virtual : /components
Resource:
/Users/username/Downloads/lucee-4.5.1.000-express/webapps/ROOT/website

however when I goto http://localhost:8888/components I get a

HTTP Status 404 - /components

type Status report

message /components

description The requested resource is not available.


  Apache Tomcat/8.0.15

back from Tomcat.

On Tuesday, February 17, 2015 at 9:40:17 PM UTC, DMan wrote:

I'm not 100% how to configure virtual directories using Lucee :(
I see mappings under the REST/ mappings menu and under the Archive &
Resources mappings menu ? Which one is the correct one for virtual
directories?

Where do :
{lucee-server}
{lucee-server}/context/

and
{lucee-config}/context/

map to ?

I want to localhost:8888/applicationA to map to /www/applicationA
and that any references eg a href="/blah" map to the root of that
directory.


Thanks,


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/39c80f0e-7edd-4917-b683-c14904c16ef4%40googlegroups.com
https://groups.google.com/d/msgid/lucee/39c80f0e-7edd-4917-b683-c14904c16ef4%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

Thanks for the replies. Here is my update.

I got the entry in server.xml working. It’s not exactly what
I want as it requires a modification to /etc/hosts but it will suffice.

I wonder can anyone get virtual mappings working ? If so could they post a
screenshot of a working one?On Tuesday, February 17, 2015 at 10:01:45 PM UTC, Andrew Dixon wrote:

Trying adding a slash at the end, e.g.

http://localhost:8888/components/

Kind regards,

Andrew
about.me http://about.me/andrew_dixon
mso http://www.mso.net - Lucee http://lucee.org - Member

On 17 February 2015 at 21:45, DMan <roo...@gmail.com <javascript:>> wrote:

I’m trying
virtual : /components
Resource:
/Users/username/Downloads/lucee-4.5.1.000-express/webapps/ROOT/website

however when I goto http://localhost:8888/components I get a

HTTP Status 404 - /components

type Status report

message /components

description The requested resource is not available.

Apache Tomcat/8.0.15

back from Tomcat.

On Tuesday, February 17, 2015 at 9:40:17 PM UTC, DMan wrote:

I’m not 100% how to configure virtual directories using Lucee :frowning:
I see mappings under the REST/ mappings menu and under the Archive &
Resources mappings menu ? Which one is the correct one for virtual
directories?

Where do :
{lucee-server}
{lucee-server}/context/

and
{lucee-config}/context/

map to ?

I want to localhost:8888/applicationA to map to /www/applicationA and
that any references eg a href="/blah" map to the root of that directory.

Thanks,


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/39c80f0e-7edd-4917-b683-c14904c16ef4%40googlegroups.com
https://groups.google.com/d/msgid/lucee/39c80f0e-7edd-4917-b683-c14904c16ef4%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.