You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by vi...@free.fr on 2007/08/20 17:52:18 UTC

[users@httpd] Problems of charset and file location with VirtualHost, SSL and Reverse Proxy

Hello !

	I have some problems using VirtualHost and SSL, please have a look at my log file:


-------------->
[Mon Aug 20 17:31:14 2007] [warn] [client 10.0.5.253] No usable charset information: using old HTTP default LATIN1
[Mon Aug 20 17:31:14 2007] [error] [client 10.0.5.253] Error in bucket read
[Mon Aug 20 17:31:15 2007] [warn] [client 10.0.5.253] No usable charset information: using old HTTP default LATIN1, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] Error in bucket read, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [warn] [client 10.0.5.253] No usable charset information: using old HTTP default LATIN1, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] Error in bucket read, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [warn] [client 10.0.5.253] No usable charset information: using old HTTP default LATIN1, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] Error in bucket read, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [warn] [client 10.0.5.253] No usable charset information: using old HTTP default LATIN1, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] Error in bucket read, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] File does not exist: /var/www-admin/mail.gif, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] File does not exist: /var/www-admin/spacer.gif, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] proxy: error reading status line from remote server localhost, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] proxy: Error reading from remote server returned by /ntop/plugins/rrdPlugin, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] File does not exist: /var/www-admin/external.png, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] proxy: error reading status line from remote server localhost, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] proxy: Error reading from remote server returned by /ntop/plugins/rrdPlugin, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [warn] [client 10.0.5.253] No usable charset information: using old HTTP default LATIN1, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] Error in bucket read, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] File does not exist: /var/www-admin/white_bg.gif, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] File does not exist: /var/www-admin/blank.gif, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [warn] [client 10.0.5.253] No usable charset information: using old HTTP default LATIN1, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] Error in bucket read, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] File does not exist: /var/www-admin/arrow.gif, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [warn] [client 10.0.5.253] No usable charset information: using old HTTP default LATIN1, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] Error in bucket read, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] proxy: error reading status line from remote server localhost, referer: https://administration.homeserver.home/ntop/
[Mon Aug 20 17:31:15 2007] [error] [client 10.0.5.253] proxy: Error reading from remote server returned by /ntop/plugins/rrdPlugin, referer: https://administration.homeserver.home/ntop/

<--------------------


I think there is 2 problems, first, there is a problem with the charset (first lines of my error logs), the second problem is a problem of location files (Files doest not exist). For example, white_gb.gif is not in /var/www-admin/ but in https://localhost:3000/


This is my configuration file:

------------------------<

NameVirtualHost administration.homeserver.home:443
<VirtualHost administration.homeserver.home:443>

ServerAdmin inet@localhost.fr
SSLEngine On
SSLCertificateFile /etc/ssl/CA/private/InetAdministration-key-cert.pem

ServerName administration.homeserver.home

DocumentRoot /var/www-admin/

<Directory "/var/www-admin/">
         Options Indexes FollowSymLinks MultiViews
         AllowOverride None
         Order allow,deny
         allow from all
</Directory>

LogLevel warn


ServerSignature Off

###  PATCH SUGGESTED BY NESSUS ABOUT TRACE ATTACKS
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]


#### NTOP (PROXY REVERSE) ########
SSLProxyEngine On
ProxyHTMLLogVerbose On
LogLevel warn
ProxyHTMLExtended On


#ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>


ProxyPass /ntop/  https://localhost:3000/
ProxyPassReverse /ntop/  https://localhost:3000/

<Location /ntop/>
SetOutputFilter  proxy-html
ProxyHTMLURLMap  /      /ntop/
ProxyHTMLURLMap /ntop/plugins/ntop/ /ntop/plugins/
ProxyHTMLURLMap /ntop/plugins/rrdPlugin/ntop/ /ntop/plugins/rrdPlugin/
RequestHeader    unset  Accept-Encoding
</Location>

ProxyPass /monit/  https://localhost:3001/
ProxyPassReverse /monit/  https://localhost:3001/

<Location /monit/>
SetOutputFilter  proxy-html
ProxyHTMLURLMap  /      /monit/
RequestHeader    unset  Accept-Encoding
</Location>


</VirtualHost>
-----------------------------------------<

What have i to do to correct that ?

Thanks !
Vianney

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org