burtonator wrote:
> 
> 
> > Imagine the file is a jsp, cfm, php,... If you don't use the URL, these won't
> > be used correctly.
> 
> We need a regular expression entry within JetspeedResources.properties
> 
> http.server.dynamic.content=*.jsp
> http.server.dynamic.content=*.cfm
> http.server.dynamic.content=*/servlet/*
> 
> This way we can say that if these URLs are dynamic not to read them from
> the filesystem.
> 
> I would be +1 for seeing an impl.  It really wouldn't be that hard.
> Just to be on the safe side I will put this into TODO.
> 

That's a hack ! There's no *correct* way to determine if a URM is dynamic or not:

http://myhost/forms/getit/now

may be:

- a call to a static directory /forms/getit/now which in turn may use 
  index.jsp as its default page
- a call to a document with negocitation enabled (look at Apache MultiViews)
- a call to the getit CGI with the /now path_info
- ...

Putting all the possible exceptions in jetspeed, require the admin to control his
full URI space and reverse its configuration process. And then you still
can't handle implicit document calls like (index.jsp) or path info.

I'm -1 on any trick like these.

--
Rapha�l Luta - [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]

Reply via email to