That's it !!
You're mapping index.html to /mynamespace/index.csp
In fact the file you're calling is index.html and the ScriptAliasMatch tag just applies to csp pr cls upper and lower case.


One thing you can try to do is to change the regular expression to match something /csp directory and call /usr/local/csp/bin/nph-CSPcgi if it matches.
A more secure way depending in what you really want to do, is to assign it to a more particular string like /csp/app/


ScriptAliasMatch */([Cc][Ss][Pp])/([Aa][Pp][Pp])/* "/usr/local/csp/bin/nph-CSPcgi"

It's just a suggestion
Nuno

G�rard VOORNEVELD wrote:

Nuno,

"Nuno Canas" <[EMAIL PROTECTED]> a �crit dans le message de
news:[EMAIL PROTECTED]

G�rard,
I think the mask tag is, in fact, the problem.
Which tag are you using ?
LocationMatch or ScriptAliasMatch ?


I use ScriptAliasMatch.

ScriptAliasMatch /*.([Cc][Ss][Pp]|[Cc][Ll][Ss])$
"/usr/local/csp/bin/nph-CSPcgi"


How are you rewritting that ?




There is only a rewrite Rule on index.html ==> /mynamespace/index.csp for some VirtualHosts.

RewriteRule index.html /mynamespace/index.csp [PT]

Thanks.

G�rard.


Nuno

G�rard VOORNEVELD wrote:


Hello Denver,

1) URL ReWritting

I use the ReWritting mecanism of Apache (it's just to have only .html
extension instead of .csp and to mask the /csp/... prefixe)

I think the consequence is that I loos the right url path to

CSPBrokerApplet

or the path to the subroutine called by the CSPBrokerApplet.

2) OnPageBody ...

To be able to use the CSP:SEARCH in an included page I must put <html>

and

<body> in the included page.

If I don't put them in the included page I have the error message.

This generates the following page :

<html>
<body>
  bal bla bla
   <!-- The page I include -->
   <html>
   <body>
       <!-- Here my CSP:SEARCH -->
    </body>
    </html>
</body>
</html>


The page is correctly viewed by the navigator (ie5.5). And the Search

works

fine.

But I don't know if this is W3C compliant?

And If it is the good way (or the good work arround) to solve this

problem.

Thanks for your help.

G�rard.


"Denver Braughler" <[EMAIL PROTECTED]> a �crit dans le

message de

news:[EMAIL PROTECTED]


G�rard Voorneveld wrote:


HTTP request failed, unable to process hyper event

http://www.mydomain.com/mypage.html  (rewriten in
http://www.mydomain.com/csp/mypage.csp) ==> Not OK

directly http://www.mydomain.com/csp/mypage.csp ==> OK

I'm not clear on what you mean by "re-written". Can you post mypage.html?


The message "HTTP request failed, unable to process HyperEvent" is

generated by


the Java program cspbroker.class.

(You need to open your Java console to see the details.
If there isn't enough detail, see my post about turning on debug mode.)

However, the problem is most likely with whatever COS code the

hyperevent

is calling.


This suggests that your rewrite has corrupted something.









Reply via email to