Bonjour,

J'ai installer un proxy apache qui redirige un site.
Cela fonctionne bien. J'ai simplement un soucis sur les fichiers PDF générer sur le serveur d'origine qui lors de la génération renvoie une erreur sur le proxy. Sur le serveur d'origine aucun souci. Cela ne concerne que les fichiers PDF avec des accents.

Voici les erreurs sur le 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 : Sélectionner tout - 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>
Quelqu'un as une idée ?

Merci pour votre aide