-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
i'm assuming "localhost" is the hostname, and not a directory, if so, i
believe
RewriteRule ^/localhost/(.*) /servlets/HelloWorldServlet [PT]
should be
RewriteRule ^(.*) /servlets/HelloWorldServlet [PT]
i once had trouble because it didn't like the / at the beginning of the
path.
-david
On Wed, 28 Jul 1999, Tifara Markovits wrote:
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
>
> hi. i read the faq!! but i tried it all and i'm still getting
> problems. i am trying to use mod_rewrite to map any request that goes
> through localhost to a servlet (it's just the HelloWorldServlet i want
> to make sure i get it working properly before i use it in any real time
> applications) this is what i put into my httpd.conf file:
>
>
> LoadModule rewrite_module modules/ApacheModuleRewrite.dll
>
> AddModule mod_jserv.c
> AddModule mod_rewrite.c
>
> <IfModule mod_rewrite.c>
> RewriteEngine on
> RewriteRule ^/localhost/(.*) /servlets/HelloWorldServlet [PT]
> </IfModule>
>
> but when i tried access any url in my localhost domain it doesn't get
> mapped to the HelloWorldServlet page page. help! what am i doing wrong?
>
>
>
>
> _____________________________________________________________
> Do You Yahoo!?
> Free instant messaging and more at http://messenger.yahoo.com
>
>
>
> --
> --------------------------------------------------------------
> 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]