Greg,

I don't think you want to use an alias, this creates a web alias for a
real dir path.  In JRun I've mapped cgi-bin/java-rmi.cgi to a similar
servlet but I don't think there is a directive for this in JServ.

You could use mod_rewrite so that requests for "cgi-bin/java-rmi.cgi"
get rewritten to the servlet url.  Something like:

RewriteEngine on
RewriteRule ^/cgi-bin/java-rmi\.cgi /servlets/rmiservlethandler [PT]
RewriteRule (.*) $1 [PT]

Haven't tried it, so let me know how it goes.


Where did you find this servlet?  We implemented a similar servlet since
we didn't think one existed from Sun.


Jason


Greg wrote:

> Hello
>
> i'm trying to make rmi work through the port 80, using
> Apache JServ and the Sun rmiservlethandler servlet classes
>
> i can't manage to get Apache call the servlet, and i'm a bit
> confused with apache aliases
>
> Can someone give me pointers link or help ?
>
> Thanks in advance
>
> (Platform = NT4sp4)
>
> Greg
>
> --
> --------------------------------------------------------------
> 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]



--
--------------------------------------------------------------
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