Aaron:

You might want to look into the Apache HTTP server config to do this..... check
out this link http://httpd.apache.org/docs/urlmapping.html under the heading
"files outside the document root".... you'll most likely also have to modify
your httpd.conf file for the webserver to have JkMount lines for the directory
and its contents.

Without knowing alot about what you're doing that should at least point you in
the right directions.

Good luck,

Greg



|--------+------------------------>
|        |                        |
|        |                        |
|        |          ALBartell@tayl|
|        |          orcorp.com    |
|        |                        |
|        |          03/09/02 12:31|
|        |          PM            |
|        |          Please respond|
|        |          to web400     |
|        |                        |
|--------+------------------------>
  >----------------------------------------------------------------------------|
  |                                                                            |
  |       To:     web400@midrange.com                                          |
  |       cc:     (bcc: Greg Rutledge/TO/Music-CA/SONY)                        |
  |       Subject:     [WEB400] Tomcat app mapping                             |
  >----------------------------------------------------------------------------|





I currently have an app running like so:

http://172.111.111.111:8010/taylor/servlet/CalcTax

but I would like to have the URL access be

http://172.111.111.111:8010/servlet/CalcTax

How do I change my <url-pattern> in <servlet-mapping> to do this?  Or do I
need to create a 'servlet' folder at the 'webapps' level and put my serlvet
in there?

Let me know if I have not provided enough information,
Aaron Bartell
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.






As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.