-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

On Thu, Sep 30, 1999 at 02:07:30PM -0400, Niral Trivedi wrote:
> I am now successfully able to map my document root to the servelt i have
> written... But there is one more and probably last question in this
> chain...
> 
> I have put following line in my httpd.conf file:
> RewriteRule ^/$ /servlets/HelloWorldServlet [R]
> 
> so, when i type url like :http://www.myserver.com
> 
> it is redirectiing to http://www.myserver.com/servlets/HelloWorldServlet
> 
> Now this /servlets/HelloWorldServlet is also appearing in the url
> texfield as this is actually a redirection.. Now, I don't want to appear

So don't redirect.  Try using [PT] instead of [R].  See my FAQ entry at:

http://java.apache.org/faq/fom-serve/cache/131.html

-- 
Steve "Pheran" Snodgrass * [EMAIL PROTECTED] * FORE Systems Unix Administrator
Geek Code: GCS d? s: a- C++ US++++$ P+++ L+ w PS+ 5++ b++ DI+ D++ e++ r++ y+*
"What to do I find it hard to know/The road I walk is not the one I chose" -Yes


--
--------------------------------------------------------------
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]

Reply via email to