You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Florent Vallée <fl...@insa-cvl.fr> on 2020/02/20 09:36:47 UTC

[users@httpd] Apache file and characters accented

Hello, 

I installed an apache proxy which redirects a site. 
That works well. I just have a problem with the PDF files generated on the original server which during the generation returns an error on the proxy. No problem on the original server. This only applies to PDF files with accents. 

Here are the errors on the proxy: 


[proxy_http:error] [pid 3765] (104)Connection reset by peer: [client 192.168.1.1:65257] AH01102: error reading status line from remote server example-tests.fr:80, referer: http://rex.example.fr/cgi-bin/WebObj....1.3.1.1.2.1.1 
[Wed May 22 10:30:38.336561 2019] [proxy_http:debug] [pid 3765] mod_proxy_http.c(1324): [client 192.168.1.1:65257] AH01105: NOT Closing connection to client although reading from backend server example-tests.fr:80 failed., referer: http://rex.example.fr/cgi-bin/WebObj....1.3.1.1.2.1.1 
[Wed May 22 10:30:38.336852 2019] [proxy:error] [pid 3765] [client 192.168.1.1:65257] AH00898: Error reading from remote server returned by /cgi-bin/WebObjects/Coriandre.woa/wo/15.0.9.11.2.0.1.0.1.1.1.7.1.1, referer: http://rex.example.fr/cgi-bin/WebObj....1.3.1.1.2.1.1 
[Wed May 22 10:30:38.337103 2019] [proxy:debug] [pid 3765] proxy_util.c(2171): AH00943: HTTP: has released connection for (example-tests.fr) 
Ma configuration pour apache2 : 
Code : 	[ https://www.developpez.net/forums/d1974603/webmasters-developpement-web/serveurs-apache-iis/apache/proxy-nom-fichiers-ayant-accents/# | Sélectionner tout ] - [ https://www.developpez.net/forums/d1974603/webmasters-developpement-web/serveurs-apache-iis/apache/proxy-nom-fichiers-ayant-accents/# | Visualiser dans une fenêtre à part ] 
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
	
< VirtualHost *: 80 > ServerName rex.example.fr DocumentRoot /var/www/rex.example.fr/ SetEnv force-proxy-request- 1.0 1 SetEnv proxy- nokeepalive 1 < Directory /var/www/rex.example.fr/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow , deny allow from all </ Directory > ProxyRequests off ProxyPreserveHost On ProxyPass /cgi-bin/WebObjects/ http://example-tests.fr/cgi-bin/WebObjects/ nocanon ProxyPassReverse /cgi-bin/WebObjects/ http://example-tests.fr/cgi-bin/WebObjects/
ProxyHTMLURLMap http://example-test.fr http://rex.example.fr
 
< Location /cgi-bin/Webobjects/> ProxyPassReverse /cgi-bin/WebObjects/ SetOutputFilter proxy-html Order deny , allow Allow from all </ Location > ErrorLog ${APACHE_LOG_DIR}/rex_error.log LogLevel debug CustomLog ${APACHE_LOG_DIR}/rex_access.log combined
</ VirtualHost > 
Anyone have an idea?

Thanks for your help 


Re: [users@httpd] Apache file and characters accented

Posted by Hendrik Schmieder <he...@jedox.com>.
Florent Vallée schrieb:
> Hello,
>
> I installed an apache proxy which redirects a site.
> That works well. I just have a problem with the PDF files generated on
> the original server which during the generation returns an error on the
> proxy. No problem on the original server. This only applies to PDF files
> with accents.
>
> Here are the errors on the proxy:
>
>
> [proxy_http:error] [pid 3765] (104)Connection reset by peer: [client
> 192.168.1.1:65257] AH01102: error reading status line from remote server
> example-tests.fr:80, referer:
> http://rex.example.fr/cgi-bin/WebObj....1.3.1.1.2.1.1
> [Wed May 22 10:30:38.336561 2019] [proxy_http:debug] [pid 3765]
> mod_proxy_http.c(1324): [client 192.168.1.1:65257] AH01105: NOT Closing
> connection to client although reading from backend server
> example-tests.fr:80 failed., referer:
> http://rex.example.fr/cgi-bin/WebObj....1.3.1.1.2.1.1
> [Wed May 22 10:30:38.336852 2019] [proxy:error] [pid 3765] [client
> 192.168.1.1:65257] AH00898: Error reading from remote server returned by
> /cgi-bin/WebObjects/Coriandre.woa/wo/15.0.9.11.2.0.1.0.1.1.1.7.1.1,
> referer: http://rex.example.fr/cgi-bin/WebObj....1.3.1.1.2.1.1
> [Wed May 22 10:30:38.337103 2019] [proxy:debug] [pid 3765]
> proxy_util.c(2171): AH00943: HTTP: has released connection for
> (example-tests.fr)
[snip|
>
> Anyone have an idea?
>

Does the pdf has a name with accents or are the accents just inside the 
pdf ?

   Hendrik



www.jedox.com
Hendrik Schmieder
Senior Software Engineer
+49 761 15147 13
Jedox AG
Bismarckallee 7a
79098Freiburg im Breisgau
Germany
Executive Board: Florian Winterstein (Chairman), Bernd Eisenblätter
​Supervisory Board: Bernhard Wöbker (Chairman), Curt Gunsenheimer, Thilo Schmid
​Place of Business: Amtsgericht Freiburg HRB 702118
​
​​[TM.V06112018]