----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Thanx Duck
I do need to load standard html pages as you said in / so I can't use this
mapping.
Wonder if anyone else has any ideas.
Thanx for you reply
Chris
>It sounds like you wanna look at the "ApJServMount" directive. Aliases
>can be used to rename a servlet, but won't effect the mount point.
>
>I've got a line in my jserv.conf file that looks like:
>ApJServMount /newMapping /yourZoneName
>
>Which allows me to access my servlets with a url like:
>http://hostname/newMapping/servletName?blah
>
>
>I also have been able to map a servlet zone to "/" with a line like:
>ApJServMount / /yourZoneName
>
>The line above allows me to access my servlets like:
>http://hostname/servletName?blah
>
>
>But I wanted to reserve "/" for vanilla html docs, so I abandoned that
>mapping.
>
>Hope this helps,
>-Duck
>
>
>-----Original Message-----
>Hi
>
>I read an answer for this soem times ago, but I;ve search my email and
>can't find the responses ( I keep all the mail to this list).
>
>I have servlet class MyServlet.class, instead of using
>www.mysite.com.au/servlets/myservlet?blah blah I created an alias
>"my" .. well this is nicer cos the links are
>www.mysite.com.au/servlets/my?blah blah
>
>But under JavaWebServer 2.0 I can make an alias "my" and there is no
>need
>to use www.mysites.com.au/servlets/my but I can just use
>www.mysite.com.au/my?blah blah
>
>So there is no need to use "/servlets"
>
>Is there any way I can make an alias in this way? other than putting my
>servlets in the root of jserv.
>
>Thanx
>
>Chris
>
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://java.apache.org/main/mail.html>
>Problems?: [EMAIL PROTECTED]
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://java.apache.org/main/mail.html>
>Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]