• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Alias

 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
help me to write "servlet alias" in Apache 1.3.6. in zone.properties i wrote the follwoing
servlet.(classfile).code=(alias)
but still the alias was not working...
any modifications...plz guide me...
thanx
malhar
 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some plzzzz HELP...its really urgent...
thanx
malhar
Originally posted by malhar barai:
hi all
help me to write "servlet alias" in Apache 1.3.6. in zone.properties i wrote the follwoing
servlet.(classfile).code=(alias)
but still the alias was not working...
any modifications...plz guide me...
thanx
malhar

 
Tim Holloway
Saloon Keeper
Pie
Posts: 18281
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are 3 different ways - 2 for Tomcat V3 and 1 for Tomcat 4. For Tomcat V3, I recommend using the mod_jk module, which passes stuff over like so:
JkMount/*.jsp ajp13
JkMount /jsp/*.jsp ajp13
JkMount/servlet/* ajp13
If I haven't gotten myself confused, you can alias these mount points using the Apache Alias statement - that would be to rewrite the URL before it got passed over to Tomcat
[This message has been edited by Tim Holloway (edited October 16, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic