----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi Garry,
did you find any solution for the problem you described below?
Thanx
Volker
Garry Thuna schrieb:
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> I am trying to use mod rewrite (to which I am quite new) to rewrite specific
> url's to
> servlets. As a test (until I get it working correctly) I am trying to route
> any and all
> requests to a hard coded servlet.
>
> My zone is mounted on "nn" and I have the following relevant stuff in my
> httpd.conf (within a <virtual host>)
> RewriteEngine on
> RewriteLog /tmp/rw.log
> RewriteLogLevel 9
> RewriteRule ^(.*)$ /nn/SessionSnoop [PT]
>
> When I try either http://myhost or http://myhost/
> I get "Not Found: the requested URL /nn/SessionSnoop was not found on this
> server."
>
> But when I try http://myhost/nn/SessionSnoop I get the expected output (so
> jserv got it before
> mod-rewrite could -- confirmed by no activity in the rw.log file)
>
> It seems that the mounting of the zone onto nn happens prior to the url
> being processed by mod-rewrite.
> I believe that I have the load order correct as mod-rewrite is loaded by
> LoadModule rewrite_module libexec/mod_rewrite.so
> AddModule mod_rewrite.c
> lines in my httpd.conf and the last line of this file is
> include /usr/local/apache/jserv/conf/jserv.con
> which contains as its first line
> LoadModule jserv_module libexec/mod_jserv.so
>
> Any help is appreciated,
> Garry
>
> --
> --------------------------------------------------------------
> 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]
--
Dipl. Inform.
Volker Richert
Information Design
Sektor Online Services GmbH Telefone : +49 241 963-1750
Dennewartstr. 27 Fax : +49 241 963-1769
Technologiezentrum E-Mail : [EMAIL PROTECTED]
52064 Aachen URL : http://www.sektor.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]