Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Alias in tomcat

Alex Korneyev

2004-02-09

Replies:

Hello,

In apache there is a directive Alias



Alias /users/ "c:/somedirectory/"

<Directory "c:/somedirectory/">
  Options Indexes MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>



which basically says that any requests that start with /users/ are
based out of that directory.

now, my workers.properties for mod_jk2 has a mapping


[uri:/*]
worker=ajp13:localhost:8009


it HAS to be this way. So, in tomcat, can i do the same thing as Alias
in apache?

alex k.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.