I now have the exact same configuration as you have outlined, but looking at
my error_log in apache, it is trying to resolve my substitution
/example/Hello
by prepending the full document root path to it...
/opt/apacheJ/share/htdocs/example/Hello
and telling me 'no file exist'.
It is trying to resolve it as a file. You think another directive is
interfering here ?
I feel like I'm almost there, hate to give up now...
(Thanks for your patience)
-----Original Message-----
From: Umesh R. Patil <[EMAIL PROTECTED]>
To: 'Java Apache Users' <[EMAIL PROTECTED]>
Date: Thursday, March 11, 1999 9:03 PM
Subject: RE: / alias
>John:
>
>The way I have it set up is:
>
>*) I have a zone called MyZone which I have mounted (in httpd.conf) as
>
>ApJServMount /a /MyZone
>
>*) When I get a request, I rewrite the url (in httpd.conf) to:
>
> RewriteRule ^/(.*) /a/userapplet?user=$1 [PT]
>
>where userapplet is an alias for COM.foo.UserApplet and is defined
>in MyZone.properties (the zone file for MyZone) as:
>
>servlet.userapplet.code=COM.foo.UserApplet
>
>Umesh.
>
>
>On Thursday, March 11, 1999 8:36 PM, John Frailey [SMTP:[EMAIL PROTECTED]]
wrote:
>> Yeah... I finally got mod_write and jserv compiled and running... (thanks
>> jon*) but when I use the substitution below:
>> RewriteEngine on
>> RewriteRule ^/(.*) /example/Hello [PT]
>> (thanks Umesh)
>>
>> It tries to resolve a web page http://<mydomain>.com/example/Hello
>> instead of the servlet that works with that url directly.
>>
>> any other tricks to send it to jserv instead of trying to read from a
file
>> ?? It's late, so I may not be thinking clearly now ... :=|
>>
>>
>>
>>
>>
>> ----------------------------------------------------------------
>> To subscribe: [EMAIL PROTECTED]
>> To unsubscribe: [EMAIL PROTECTED]
>> Archives and Other: <http://www.working-dogs.com/>
>> Problems?: [EMAIL PROTECTED]
>>
>
>
>----------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://www.working-dogs.com/>
>Problems?: [EMAIL PROTECTED]
>
>
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]