-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
FYI i figured out a way to fix this. i had to add a rewrite condition
before the rewrite rule. as such:
RewriteCond ^/servlets/{SERVLET_NAME}$ -
RewriteRule ...
--- Tifara Markovits <[EMAIL PROTECTED]> wrote:
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
>
>
> i am trying to map any request for 'localhost' to go
> through an html
> login page (which calls a servlet for authentication
> purposes)using
> mod_rewrite. in my httpd.conf file i put:
>
> RewriteRule ^(.*) /Login.html [PT]
>
> it goes to the login page but then i get an error
> 405 message of this
> url doesn't allow this method. i turned the Rewrite
> engine off and the
> login page works correctly. is there some directive
> i have to add to
> my config files to make this work? or do i have to
> map to a servlet and
> not an html page? any help would be great. thanks.
> -tifara
> ps is this the correct mailing list for these sort
> of questions?
>
>
>
> _____________________________________________________________
> 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]
>
>
_____________________________________________________________
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]