M
mivanov
Hello,
I recently switched from Tomcat as a service to Jetty under Geronimo
M3, and I need to know how to create a url "alias" for a folder on the
disk. For example, say I want to access files in folder "C:\bar" at
the url "http://localhost:8080/foo" so that the image
"C:\bar\foobar.png" is accessible from
"http://localhost:8080/foo/foobar.png" and so on. In Tomcat, I edited
server.xml to add <Context path="/foo" docBase="C:\bar" debug="0"
privileged="true"> How can I accomplish this with Jetty?
Many thanks,
Michael Ivanov
I recently switched from Tomcat as a service to Jetty under Geronimo
M3, and I need to know how to create a url "alias" for a folder on the
disk. For example, say I want to access files in folder "C:\bar" at
the url "http://localhost:8080/foo" so that the image
"C:\bar\foobar.png" is accessible from
"http://localhost:8080/foo/foobar.png" and so on. In Tomcat, I edited
server.xml to add <Context path="/foo" docBase="C:\bar" debug="0"
privileged="true"> How can I accomplish this with Jetty?
Many thanks,
Michael Ivanov