httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel E <emmanue...@gmx.net>
Subject Re: [users@httpd] Pease help with mod_deflate configuration
Date Thu, 15 Jun 2006 08:57:48 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
when you access it via the domain is there a proxy in between or are
you still accessing it locally?<br>
<br>
CC CHEN wrote:
<blockquote cite="mid019601c6904b$765581a0$521412ac@chencc" type="cite">
  <title></title>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <meta content="MSHTML 6.00.2800.1543" name="GENERATOR">
  <style></style>
  <div><font face="Arial" size="2">ok here is the amended config file.
And sorry to say it doesn't work either way.</font></div>
  <div>&nbsp;</div>
  <div>&nbsp;</div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">###########################</font></div>
  <div><font face="Arial" size="2">ServerRoot "/opt/apache2.0.58"<br>
PidFile /opt/apache2.0.58/logs/httpd.pid<br>
ScoreBoardFile /opt/apache2.0.58/logs/httpd.scoreboard<br>
Timeout 300<br>
KeepAlive On</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">MaxKeepAliveRequests 100<br>
KeepAliveTimeout 15</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">MinSpareServers 5<br>
MaxSpareServers 10</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">StartServers 5</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">MaxClients 150</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">MaxRequestsPerChild 0</font></div>
  <div>&nbsp;</div>
  <div>&nbsp;</div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">#&nbsp; Reconstruction of the complete
module list from all available modules<br>
#&nbsp; (static and shared ones) to achieve correct module execution order.<br>
#&nbsp; [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]<br>
LoadModule was_ap20_module
/opt/IBM/WebSphere/Express51/AppServer/bin/mod_was_ap20_http.so<br>
WebSpherePluginConfig
/opt/IBM/WebSphere/Express51/AppServer/config/cells/plugin-cfg.xml</font></div>
  <div>&nbsp;</div>
  <font face="Arial" size="2"></font>
  <div><font face="Arial" size="2"><br>
Listen 80<br>
&lt;IfDefine SSL&gt;<br>
Listen 443<br>
&lt;/IfDefine&gt;<br>
ServerName linuxweb</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">User apache<br>
Group apache</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">ServerAdmin <a
 href="mailto:root@linuxweb">root@linuxweb</a></font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">DocumentRoot
"/opt/apache2.0.58/htdocs"</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;Directory /&gt;<br>
&nbsp;&nbsp;&nbsp; Options FollowSymLinks<br>
&nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp; SetOutputFilter DEFLATE<br>
&lt;/Directory&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2"><br>
&lt;Directory "/opt/apache2.0.58/htdocs"&gt;<br>
&nbsp;&nbsp;&nbsp; Options Indexes FollowSymLinks MultiViews<br>
&nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp; Order allow,deny<br>
&nbsp;&nbsp;&nbsp; Allow from all<br>
&lt;/Directory&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;IfModule mod_userdir.c&gt;<br>
&nbsp;&nbsp;&nbsp; UserDir public_html<br>
&lt;/IfModule&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">#&lt;IfModule mod_dir.c&gt;<br>
#&nbsp;&nbsp;&nbsp; DirectoryIndex index.html index1.html<br>
#&lt;/IfModule&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;IfModule mod_dir.c&gt;<br>
&nbsp;&nbsp;&nbsp; DirectoryIndex index.html<br>
&lt;/IfModule&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">AccessFileName .htaccess</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;Files ~ "^\.ht"&gt;<br>
&nbsp;&nbsp;&nbsp; Order allow,deny<br>
&nbsp;&nbsp;&nbsp; Deny from all<br>
&nbsp;&nbsp;&nbsp; Satisfy All<br>
&lt;/Files&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">UseCanonicalName On</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">#<br>
# TypesConfig describes where the mime.types file (or equivalent) is<br>
# to be found.<br>
#<br>
&lt;IfModule mod_mime.c&gt;<br>
&nbsp;&nbsp;&nbsp; TypesConfig /opt/apache2.0.58/conf/mime.types<br>
&lt;/IfModule&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">DefaultType text/plain</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;IfModule mod_mime_magic.c&gt;<br>
&nbsp;&nbsp;&nbsp; MIMEMagicFile /opt/apache2.0.58/conf/magic<br>
&lt;/IfModule&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">HostnameLookups Off</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">ErrorLog
/opt/apache2.0.58/logs/error_log</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">#LogLevel warn<br>
LogLevel Error</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">DeflateFilterNote Input instream<br>
DeflateFilterNote Output outstream<br>
DeflateFilterNote Ratio ratio</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2"><br>
LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined<br>
LogFormat "%v %h %l %u %t \"%r\" %&gt;s %b" common<br>
LogFormat "%{Referer}i -&gt; %U" referer<br>
LogFormat "%{User-agent}i" agent<br>
LogFormat '%h %t "%r" %&gt;s %b %{outstream}n %{instream}n (%{ratio}n)'
deflate<br>
CustomLog /opt/apache2.0.58/logs/access_log deflate</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">ServerSignature On</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;IfModule mod_alias.c&gt;<br>
&nbsp;&nbsp;&nbsp; Alias /icons/ "/opt/apache2.0.58/icons/"<br>
&nbsp;&nbsp;&nbsp; &lt;Directory "/opt/apache2.0.58/icons"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options Indexes MultiViews<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<br>
&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; Alias /manual/
"/opt/apache2.0.58/htdocs/manual/"</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; &lt;Directory
"/opt/apache2.0.58/htdocs/manual"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options Indexes FollowSymlinks
MultiViews<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<br>
&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; ScriptAlias
/cgi-bin/
"/opt/apache2.0.58/cgi-bin/"</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; &lt;Directory
"/opt/apache2.0.58/cgi-bin"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options None<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<br>
&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;<br>
&lt;/IfModule&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2"><br>
&lt;IfModule mod_autoindex.c&gt;<br>
&nbsp;&nbsp;&nbsp; IndexOptions FancyIndexing<br>
&nbsp;&nbsp;&nbsp; AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip<br>
&nbsp;&nbsp;&nbsp; AddIconByType (TXT,/icons/text.gif) text/*<br>
&nbsp;&nbsp;&nbsp; AddIconByType (IMG,/icons/image2.gif) image/*<br>
&nbsp;&nbsp;&nbsp; AddIconByType (SND,/icons/sound2.gif) audio/*<br>
&nbsp;&nbsp;&nbsp; AddIconByType (VID,/icons/movie.gif) video/*</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; AddIcon /icons/binary.gif
.bin
.exe<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/binhex.gif .hqx<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/tar.gif .tar<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/a.gif .ps .ai .eps<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/layout.gif .html .shtml .htm .pdf<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/text.gif .txt<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/c.gif .c<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/p.gif .pl .py<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/f.gif .for<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/dvi.gif .dvi<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/uuencoded.gif .uu<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/tex.gif .tex<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/bomb.gif core</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; AddIcon /icons/back.gif
..<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/hand.right.gif README<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/folder.gif ^^DIRECTORY^^<br>
&nbsp;&nbsp;&nbsp; AddIcon /icons/blank.gif ^^BLANKICON^^</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; DefaultIcon
/icons/unknown.gif</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; ReadmeName README<br>
&nbsp;&nbsp;&nbsp; HeaderName HEADER</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; IndexIgnore
.??* *~ *# HEADER*
README* RCS CVS *,v *,t</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;/IfModule&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;IfModule mod_mime.c&gt;<br>
&nbsp;&nbsp;&nbsp; AddLanguage da .dk<br>
&nbsp;&nbsp;&nbsp; AddLanguage nl .nl<br>
&nbsp;&nbsp;&nbsp; AddLanguage en .en<br>
&nbsp;&nbsp;&nbsp; AddLanguage et .ee<br>
&nbsp;&nbsp;&nbsp; AddLanguage fr .fr<br>
&nbsp;&nbsp;&nbsp; AddLanguage de .de<br>
&nbsp;&nbsp;&nbsp; AddLanguage el .el<br>
&nbsp;&nbsp;&nbsp; AddLanguage he .he<br>
&nbsp;&nbsp;&nbsp; AddCharset ISO-8859-8 .iso8859-8<br>
&nbsp;&nbsp;&nbsp; AddLanguage it .it<br>
&nbsp;&nbsp;&nbsp; AddLanguage ja .ja<br>
&nbsp;&nbsp;&nbsp; AddCharset ISO-2022-JP .jis<br>
&nbsp;&nbsp;&nbsp; AddLanguage kr .kr<br>
&nbsp;&nbsp;&nbsp; AddCharset ISO-2022-KR .iso-kr<br>
&nbsp;&nbsp;&nbsp; AddLanguage nn .nn<br>
&nbsp;&nbsp;&nbsp; AddLanguage no .no<br>
&nbsp;&nbsp;&nbsp; AddLanguage pl .po<br>
&nbsp;&nbsp;&nbsp; AddCharset ISO-8859-2 .iso-pl<br>
&nbsp;&nbsp;&nbsp; AddLanguage pt .pt<br>
&nbsp;&nbsp;&nbsp; AddLanguage pt-br .pt-br<br>
&nbsp;&nbsp;&nbsp; AddLanguage ltz .lu<br>
&nbsp;&nbsp;&nbsp; AddLanguage ca .ca<br>
&nbsp;&nbsp;&nbsp; AddLanguage es .es<br>
&nbsp;&nbsp;&nbsp; AddLanguage sv .sv<br>
&nbsp;&nbsp;&nbsp; AddLanguage cs .cz .cs<br>
&nbsp;&nbsp;&nbsp; AddLanguage ru .ru<br>
&nbsp;&nbsp;&nbsp; AddLanguage zh-TW .zh-tw<br>
&nbsp;&nbsp;&nbsp; AddCharset Big5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
.Big5&nbsp;&nbsp;&nbsp; .big5<br>
&nbsp;&nbsp;&nbsp; AddCharset WINDOWS-1251 .cp-1251<br>
&nbsp;&nbsp;&nbsp; AddCharset CP866&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
.cp866<br>
&nbsp;&nbsp;&nbsp; AddCharset ISO-8859-5&nbsp;&nbsp; .iso-ru<br>
&nbsp;&nbsp;&nbsp; AddCharset KOI8-R&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
.koi8-r<br>
&nbsp;&nbsp;&nbsp; AddCharset UCS-2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
.ucs2<br>
&nbsp;&nbsp;&nbsp; AddCharset UCS-4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
.ucs4<br>
&nbsp;&nbsp;&nbsp; AddCharset UTF-8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
.utf8</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; &lt;IfModule
mod_negotiation.c&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LanguagePriority en
da nl et fr de el it ja kr no pl pt pt-br
ru ltz ca es sv tw<br>
&nbsp;&nbsp;&nbsp; &lt;/IfModule&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; AddType application/x-tar
.tgz</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; AddEncoding
x-compress .Z<br>
&nbsp;&nbsp;&nbsp; AddEncoding x-gzip .gz .tgz</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;/IfModule&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;IfModule mod_setenvif.c&gt;<br>
&nbsp;&nbsp;&nbsp; BrowserMatch "Mozilla/2" nokeepalive<br>
&nbsp;&nbsp;&nbsp; BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0
force-response-1.0</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; BrowserMatch
"RealPlayer 4\.0"
force-response-1.0<br>
&nbsp;&nbsp;&nbsp; BrowserMatch "Java/1\.0" force-response-1.0<br>
&nbsp;&nbsp;&nbsp; BrowserMatch "JDK/1\.0" force-response-1.0<br>
&lt;/IfModule&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;IfDefine SSL&gt;<br>
AddType application/x-x509-ca-cert .crt<br>
AddType application/x-pkcs7-crl&nbsp;&nbsp;&nbsp; .crl<br>
&lt;/IfDefine&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;IfModule mod_ssl.c&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">SSLPassPhraseDialog&nbsp; builtin<br>
SSLSessionCache&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
dbm:/opt/apache2.0.58/logs/ssl_scache<br>
SSLSessionCacheTimeout&nbsp; 300<br>
SSLMutex&nbsp; <a class="moz-txt-link-freetext" href="file:/opt/apache2.0.58/logs/ssl_mutex">file:/opt/apache2.0.58/logs/ssl_mutex</a><br>
SSLRandomSeed startup builtin<br>
SSLRandomSeed connect builtin<br>
&lt;/IfModule&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">RewriteEngine on<br>
RewriteLog "/opt/apache2.0.58/logs/rewrite.log"<br>
RewriteLogLevel 9</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">RewriteCond %{REQUEST_METHOD} =TRACE<br>
RewriteRule ^ - [F]</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">RewriteCond %{HTTP_HOST}&nbsp;&nbsp;
^172.18.20.23<br>
RewriteRule ^ <a href="https://%%7BHTTP_HOST%7D/testweb/">https://%{HTTP_HOST}/testweb/</a>&nbsp;
[R]</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2"><br>
&lt;IfDefine SSL&gt;<br>
&nbsp;&lt;VirtualHost *:443&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2"><br>
&nbsp;&nbsp;RewriteEngine on<br>
&nbsp;&nbsp;RewriteCond %{REQUEST_METHOD} =TRACE<br>
&nbsp;&nbsp;RewriteRule ^ - [F]</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;RewriteCond %{HTTP_HOST}&nbsp;&nbsp;
^172.18.20.23<br>
&nbsp;&nbsp;# exclude everything starting with /testweb/<br>
&nbsp;&nbsp;RewriteRule !^/testweb/ <a href="https://%%7BHTTP_HOST%7D/testweb/">https://%{HTTP_HOST}/testweb/</a>&nbsp;
[R]<br>
&nbsp;<br>
&nbsp;&nbsp;DocumentRoot "/opt/apache2.0.58/htdocs"<br>
&nbsp;&nbsp;ServerName 172.18.20.23<br>
&nbsp;&nbsp;ErrorLog /opt/apache2.0.58/logs/error_log<br>
&nbsp;&nbsp;#LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\"
\"%{User-Agent}i\" mod_gzip: %{mod_gzip_result}n
In:%{mod_gzip_input_size}n
Out:%{mod_gzip_output_size}n:%{mod_gzip_compression_ratio}npct."<br>
&nbsp;&nbsp;DeflateFilterNote Input instream<br>
&nbsp;&nbsp;DeflateFilterNote Output outstream<br>
&nbsp;&nbsp;DeflateFilterNote Ratio ratio</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;#this cannot use<br>
&nbsp;&nbsp;#LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"'<br>
&nbsp;&nbsp;#LogFormat '"%h" "%t" "%&gt;s" "%b" "%r" %{outstream}n/%{instream}n
(%{ratio}n%%)'<br>
&nbsp;&nbsp;<br>
&nbsp;&nbsp;#this can use<br>
&nbsp;&nbsp;#LogFormat '%h %t "%r" %&gt;s %b (%{ratio}n)'<br>
&nbsp;&nbsp;LogFormat '%h %t "%r" %&gt;s %b %{outstream}n %{instream}n
(%{ratio}n)'</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;TransferLog
/opt/apache2.0.58/logs/access_log<br>
&nbsp;&nbsp;ServerAdmin <a href="mailto:root@linuxweb">root@linuxweb</a><br>
&nbsp;&nbsp;ErrorLog /opt/apache2.0.58/logs/error_log<br>
&nbsp;&nbsp;TransferLog /opt/apache2.0.58/logs/access_log<br>
&nbsp;&nbsp;SSLEngine on<br>
&nbsp;&nbsp;SSLVerifyClient none<br>
&nbsp;&nbsp;#SSLVerifyClient optional<br>
&nbsp;&nbsp;SSLVerifyDepth 10<br>
&nbsp;&nbsp;SSLCipherSuite
ALL:!ADH:!EXPORT40:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL<br>
&nbsp;&nbsp;SSLCertificateFile /usr/local/ssl/server/certificates/server.crt<br>
&nbsp;&nbsp;SSLCertificateKeyFile /usr/local/ssl/server/keys/server.key<br>
&nbsp;&nbsp;SSLCACertificatePath /opt/apache2.0.58/conf/ssl.crt<br>
&nbsp;&nbsp;SSLOptions +ExportCertData +StdEnvVars<br>
&nbsp;&nbsp;#SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars
+StrictRequire<br>
&nbsp;&nbsp;&lt;Files ~ "\.(cgi|jsp|shtml|phtml|php3?)$"&gt;<br>
&nbsp;&nbsp;&nbsp;SSLOptions +ExportCertData +StdEnvVars<br>
&nbsp;&nbsp;&nbsp;#SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars
+StrictRequire<br>
&nbsp;&nbsp;&lt;/Files&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;Directory
"/opt/apache2.0.58/htdocs"&gt;<br>
&nbsp;&nbsp;&nbsp; Options Indexes FollowSymLinks MultiViews<br>
&nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp; Order allow,deny<br>
&nbsp;&nbsp;&nbsp; Allow from all<br>
&lt;/Directory&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2"><br>
&nbsp;&nbsp;&lt;Directory "/opt/local/apache1.3.29/cgi-bin"&gt;<br>
&nbsp;&nbsp;&nbsp;SSLOptions +StdEnvVars +ExportCertData<br>
&nbsp;&nbsp;&lt;/Directory&gt;<br>
&nbsp;&nbsp;SetEnvIf User-Agent ".*MSIE.*" \<br>
&nbsp;&nbsp;&nbsp;nokeepalive ssl-unclean-shutdown \<br>
&nbsp;&nbsp;&nbsp;downgrade-1.0 force-response-1.0<br>
&nbsp;&nbsp;CustomLog /opt/apache2.0.58/logs/ssl_request_log \<br>
&nbsp;&nbsp;&nbsp;"%v %t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;&nbsp;&lt;Location
/testweb/clientauth/&gt;<br>
&nbsp;&nbsp;&nbsp;SSLVerifyClient require<br>
&nbsp;&nbsp;&nbsp;SSLVerifyDepth 10<br>
&nbsp;&nbsp;&nbsp;SSLOptions +ExportCertData +StdEnvVars<br>
&nbsp;&nbsp;&lt;/Location&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2"><br>
&nbsp;&nbsp;<br>
&nbsp;&lt;/VirtualHost&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&lt;/IfDefine&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">#<br>
# Directives to allow use of AWStats as a CGI<br>
#<br>
Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/"<br>
Alias /awstatscss "/usr/local/awstats/wwwroot/css/"<br>
Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"<br>
ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/"</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">#<br>
# This is to permit URL access to scripts/files in AWStats directory.<br>
#<br>
&lt;Directory "/usr/local/awstats/wwwroot"&gt;<br>
&nbsp;&nbsp;&nbsp; Options None<br>
&nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp; Order allow,deny<br>
&nbsp;&nbsp;&nbsp; Allow from all<br>
&lt;/Directory&gt;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">&nbsp;# Insert filter<br>
&nbsp;<br>
&nbsp;# HTTP COMPRESSION<br>
# SetOutputFilter DEFLATE<br>
&nbsp;<br>
&nbsp;# Netscape 4.x has some problems...<br>
&nbsp;BrowserMatch ^Mozilla/4 gzip-only-text/html<br>
&nbsp;# Netscape 4.06-4.08 have some more problems<br>
&nbsp;BrowserMatch ^Mozilla/4\.0[678] no-gzip<br>
&nbsp;# MSIE masquerades as Netscape, but it is fine<br>
&nbsp;# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html<br>
&nbsp;# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48<br>
&nbsp;# the above regex won't work. You can use the following<br>
&nbsp;# workaround to get the desired effect:<br>
&nbsp;BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html<br>
&nbsp;# Don't compress images<br>
&nbsp;SetEnvIfNoCase Request_URI \<br>
&nbsp;\.(?:gif|jpe?g|png)$ no-gzip dont-vary<br>
&nbsp;<br>
&nbsp;# Make sure proxies don't deliver the wrong content<br>
&nbsp;#Header append Vary User-Agent env=!dont-vary</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div><font face="Arial" size="2">#####################################</font></div>
  <div><font face="Arial" size="2">&nbsp;</font></div>
  <div>&nbsp;</div>
  <blockquote
 style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left:
5px; margin-right: 0px;">
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal;
font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
    <div
 style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family:
arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height:
normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
    <a title="emmanuel.e@gmx.net" href="mailto:emmanuel.e@gmx.net">Emmanuel
E</a> </div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal;
font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
    <a title="users@httpd.apache.org"
 href="mailto:users@httpd.apache.org">users@httpd.apache.org</a> </div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal;
font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Wednesday, June 14, 2006 5:25 PM</div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal;
font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
Re: [users@httpd] Pease help with mod_deflate configuration</div>
    <div><br>
    </div>
I dont know why you need to use the &lt;Location&gt; &lt;/Location&gt;
Directive at all. See if the following works:<br>
    <br>
In this section:<br>
    <font face="Arial" size="2">&lt;Directory /&gt;<br>
&nbsp;&nbsp;&nbsp; Options FollowSymLinks<br>
&nbsp;&nbsp;&nbsp; AllowOverride None<br>
&lt;/Directory&gt;<br>
    <br>
    </font>Change it to:<br>
    <font face="Arial" size="2">&lt;Directory /&gt;<br>
&nbsp;&nbsp;&nbsp; Options FollowSymLinks<br>
&nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp; SetOutputFilter DEFLATE<br>
&lt;/Directory&gt;</font><br>
    <br>
and delete the Location section at the end.<br>
    <br>
    <br>
CC CHEN wrote:
    <blockquote cite="mid001801c68f92$33a77ed0$521412ac@chencc"
 type="cite">&nbsp;</blockquote>
  </blockquote>
</blockquote>
</body>
</html>

---------------------------------------------------------------------
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


Mime
View raw message