Re: [Resin-interest] problems with IIS

2006-09-18 Thread Sam
> Date: Mon, Sep 18, 2006 at 12:35:13PM -0400
> Subject: Re: [Resin-interest] problems with IIS
>
> Seems it might be a problem with our balancer, we added a little test
> http://webserver.com/été/index.jsp and index.html
> <http://webserver.com/été/index.jsp%20and%20index.html>  which IIS can
> find no problem but resin gives an error 404 while converting the
> codes to %E9t%E9 in Firefox, but no conversion in Internet Explorer.
> The index.html can be found. I'm really confused and have no clue how
> to fix this.

There is no specified character encoding for urls, thus
RFC 1738 states:

"... only alphanumerics, the special characters "$-_.+!*'(),", and
reserved characters used for their reserved purposes may be used
unencoded within a URL."

The safest thing to do is to encode all of your urls (using c:url in
jsp, or java.net.URLEncoder, or urlencode() in php).

Resin defaults to using utf-8 when decoding urls, you can change the
default with url-character-encoding:

Resin 3.1
http://www.caucho.com/resin-3.1/config/cluster-tags.xtp#url-character-encoding

Resin 3.0
http://wiki.caucho.com/Server

If you turn on debug logging, Resin will emit logging for each request
that it receives.  You can use that to determine what the filename that
Resin is receiving from isapi_srun/IIS.
http://wiki.caucho.com/Debug_logging

-- Sam


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] problems with IIS

2006-09-18 Thread Michael Sweeney








Seems it might be a problem with our
balancer, we added a little test http://webserver.com/été/index.jsp
and index.html which IIS can find no problem but resin gives an error 404
while converting the codes to %E9t%E9 in Firefox, but no conversion in Internet
Explorer. The index.html can be found. I’m really confused and have no
clue how to fix this.



 







From: Michael Sweeney 
Sent: Friday, September 15, 2006
4:15 PM
To: 'resin-interest@caucho.com'
Subject: problems with IIS



 

this problem is on windows 2000 SP4 in case it makes a difference and
resin 2.1.17 (upgrading is not an option, we don’t have control over the
web server)

We got
Resin working with IIS perfectly, it just causes a 404 error
when accessing a page in JAMwiki that has french accents in it. 

The
following URL's work fine : 

http://www.webserver.com/wiki/SUSE 
http://www.webserver.com:8080/wiki/syst%C3%A8me_d%27exploitation
<- via 
resin on 8080 

This does
not, gives a 404 
http://www.webserver.com/wiki/syst%C3%A8me_d%27exploitation
<- via IIS 
on port 80 

I'm
thinkink the characters in the url are causing the problem, and we 
need the accents since the site is in French. Any ideas ? 

 

 



Michael
 Sweeney

Systems Administrator

Administrateur de système



LVL STUDIO INC.

428 St-Pierre, local 101

Montreal, Quebec, CANADA

H2Y 2M5

Phone:
1.514.844.2730 ext:238

Fax:
1.514.844.1647

www.lvlstudio.com

 






___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] problems with IIS

2006-09-15 Thread Michael Sweeney








this problem is on windows 2000 SP4 in case it makes a difference and
resin 2.1.17 (upgrading is not an option, we don’t have control over the
web server)

We got
Resin working with IIS perfectly, it just causes a 404 error
when accessing a page in JAMwiki that has french accents in it. 

The
following URL's work fine : 

http://www.webserver.com/wiki/SUSE 
http://www.webserver.com:8080/wiki/syst%C3%A8me_d%27exploitation
<- via 
resin on 8080 

This does
not, gives a 404 
http://www.webserver.com/wiki/syst%C3%A8me_d%27exploitation
<- via IIS 
on port 80 

I'm
thinkink the characters in the url are causing the problem, and we 
need the accents since the site is in French. Any ideas ? 

 

 



Michael
 Sweeney

Systems Administrator

Administrateur de système



LVL STUDIO INC.

428 St-Pierre, local 101

Montreal, Quebec, CANADA

H2Y 2M5

Phone:
1.514.844.2730 ext:238

Fax:
1.514.844.1647

www.lvlstudio.com

 






___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest