Steve Nguyen wrote:
> 
> I have not tried to duplicate your problem but you may want to check the order of 
>LoadModule. 
> JServ should always be loaded first and after that mod_rewrite.

In my case it works just the opposite. I'm using the dynamic loading of modules and
here it is an excerpt of my httpd.conf:

# Example:
LoadModule rewrite_module     libexec/mod_rewrite.so
LoadModule jserv_module       libexec/mod_jserv.so

#  Reconstruction of the complete module list from all available modules
#  (static and shared ones) to achieve correct module execution order.
#  [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
ClearModuleList
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
#AddModule mod_jserv.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_so.c
AddModule mod_setenvif.c
AddModule mod_jserv.c


> Steve N.
> E-mail: [EMAIL PROTECTED]

> From: Frank Flannery <[EMAIL PROTECTED]>
> Subject: Re: servlets forbidden when using rewrite module?
[...]
> [root@db1 bin]# ./httpd -l
> Compiled-in modules:
[...]
>   mod_jserv.c
>   mod_rewrite.c
> 
> --- jon * <[EMAIL PROTECTED]> wrote:
> > > My problem is, as soon as I turn the rewrite
> > engine on
> > > (RewriteEngine on) servlets immmediately stop
> > working,
> > > saying that acces to servlet is forbidden.

andrea
-- 

                             _____________
____________________________/             \
                                           |
   Andrea Caltroni       Software Engineer |
   AEON  Virtual  Shopping  Services  GmbH |
   Zettachring 6, 70567 Stuttgart, Germany |
   email:             [EMAIL PROTECTED] |


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to