----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Didn't quite do the trick, I think my application server was still expecting the same
URL on the output, so it couldn't find the
rewritten jhtml URL.
Any other suggesstions?
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Michael
> Amster
> Sent: Monday, April 10, 2000 5:17 PM
> To: Java Apache Users
> Subject: Re: Making JSSI do tricks.
>
>
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Jason:
>
> I would suggest using ModRewrite. Create a rewrite rule that outputs something that
>the ApJServAction can use. Remember
> that there
> is a mod loading dependency documented in the FAQ - you need to load mod_jserv first
>and then mod_rewrite.
>
> Then create your rewrite rules appropriately:
>
> RewriteRule ^/cgi-bin/[^.]+\.storefront(.*) /storefront.jhtml [PT]
>
> Note: you will need to make sense of what has to be done with this rewrite, the key
>is to create a .jhtml file ending so that the
> next rule can accept the URL:
>
> ApJServAction .jhtml /servlets/org.apache.servlet.ssi.SSI
>
> That's it.
>
> -MA
>
> Jason Callina wrote:
>
> > ----------------------------------------------------------------
> > 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!!!
> > ----------------------------------------------------------------
> >
> > I am looking for some more suggestions on making JSSI grab dynamic pages. I have
>JServ and JSSI installed on Solaris
> with Apache
> > 1.3.6. with DSO built in. They both are tested and behaving properly.
> >
> > Currently to grab .jhtml files I am using the standard directive.
> >
> > "ApJServAction .jhtml /servlets/org.apache.servlet.ssi.SSI"
> >
> > What I would like to do, is have it grab the page that answers true to the regular
>expression like below...
> >
> > "ApJServAction ^/cgi-bin/[^.]+\.storefront(.*)
>/servlets/org.apache.servlet.ssi.SSI"
> >
> > Obviously the above doesn't work. Any ideas on how to get it to perform this way?
> >
> > Jason Callina
> > Senior eCommerce Developer
> > MARKnET Communications
> > 125 John Hancock Road
> > Taunton, MA 02780
> > Phone: (508) 821-9990 x108
> > Fax: (508) 821-9828
> > mailto:[EMAIL PROTECTED]
> >
> > --
> > --------------------------------------------------------------
> > 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]
>
> --
> ~-~-~-~-~-~-~-~-~-~-~-~-~-~-WEBEASY-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
> Michael Amster [EMAIL PROTECTED]
> 1416 2nd Street Tel: 310.576.0770
> Santa Monica, CA 90405 Fax: 310.576.2011
>
>
>
>
> --
> --------------------------------------------------------------
> 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]
>
--
--------------------------------------------------------------
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]