Henner Zeller wrote:
>
> Hi Andrea,
> Make sure, that the mod_rewrite is included _after_ the mod_jserv.
> (see the sequence of the built-in modules with 'httpd -l')
>
> ciao,
> -hen
Thank you Hen.
I forgot to say I had already tried this one but, if the order is
mod_rewrite
mod_jserv
the servlet is serviced correctly. If it is:
mod_jserv
mod_rewrite
then I get the following answer:
Forbidden
You don't have permission to access /servletzone_mountpoint/my_servlet_name on
this server.
and the only thing I changed was recompiling Apache with the modules in the new
order.
There is a related question in the FAQ-O-Matic on java.apache.org web site:
"mod_rewrite doesn't seem to be able to change my mod_jserv URL's"
but it doesn't give a definite answer...
Any other suggestion?
Thank you again!
bye
andrew
> On Wed, 21 Apr 1999, Andrea Caltroni wrote:
> AC |
> AC |I need to rewrite a URL, let's say:
> AC |
> AC | http://my_host.com/example_dir/
> AC |or
> AC | http://my_host.com/filename.ext
> AC |(it can be a directory, a file name in the HTTP server root, or a file in a
> AC |subdirectory of the server root)
> AC |
> AC |to the URL of a servlet:
> AC | http://my_host.com/servletzone_mountpoint/my_servlet_name
> AC |
> AC |and have the servlet properly executed.
> AC |
> AC |The two things are working separately: on the one hand I can execute a servlet
>and
> AC |on the other, I have a URL rewritten and serviced correctly.
> AC |But it seems to me that after a URL rewrite the servlet engine can't be invoked.
> AC |
> AC |I compiled the modules mod_jserv and mod_rewrite into the Apache engine.
> AC |I'm using Apache v1.3.6, Apache JServ v1.03b, JDK v1.1.7, JSDK v2.0
--
_____________
____________________________/ \
|
Andrew Caltroni Software Engineer |
AEON Virtual Shopping Services GmbH |
Zettachring 6, 70567 Stuttgart, Germany |
email: [EMAIL PROTECTED] |
Office phone: +49-711-7287-4432 |
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]