----------------------------------------------------------------
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,
I'm sorry if this has been answered before - I couldn't find anything in
the FAQs...

I have a set of pages protected by a Servlet, that only get served if a
user has logged into my site and has a valid cookie. This is done by
using mod rewrite to pass all URLs in a specified directory to a
Validation servlet.
The Validation servlet uses the extra path information to find the page
( which is actually somewhere else on my filesystem), and then serves
the page.
So far so good... The problem I'm having is that some of these pages are
SSI pages containing Servlets.

Mapping the .jhtml extension to the Apache SSI servlet appears to happen
before the mod_rewrite which maps my protected directory to the
Validation Servlet.
This means that, if I understand it correctly, Apache sees the .jhtml
extension, passes the URL to the SSI Servlet, which then gives up
becuase it can't find the page.

So, how do I do it? I want to have a set of .jhtml pages served by my
Servlet, that get parsed by the SSI Servlet before they reach the
client's browser...
I would be most greatful if someone can help me get this working!
Thanks
Crispin.




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

Reply via email to