Hi, yes not much to do with standards but hey you need to use the resources
available to you.


On Thu Feb 08, 2007 at 22:23:17 +0900, Gav.... wrote:
>No idea what this has to do with Web Standards, but anyway ...
>
>> -----Original Message-----
>> From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED]
>> On Behalf Of Nisha Kumari
>> Sent: Thursday, 8 February 2007 6:16 PM
>> To: wsg@webstandardsgroup.org
>> Subject: [WSG] HTTP compression in Apache
>> 
>> 
>> Hi All,
>> 
>> I am trying to implement HTTP compression in Apache.  Have included
>> following code in my httpd.conf file
>> 

Okay, there may be a problem here.

As per the apache docs <Location> sections are not file system paths..

http://httpd.apache.org/docs/2.2/mod/core.html#location

Specifically this part in the docs.
"When to use <Location>

Use <Location> to apply directives to content that lives outside the
filesystem. For content that lives in the filesystem, use <Directory> and
<Files>. An exception is <Location />, which is an easy way to apply a
configuration to the entire server.
"

>> <Location "C:\Apache Group\Apache2\htdocs">
>>      SetOutputFilter Deflate
>> </Location>
>> 
So the above location section is useless. A location directive referes to
part of the url in broswer, and unless I have had a few more beers than I
thought. That is not a url there :)

>> <Directory "C:/Apache Group/Apache2/htdocs">
>>      Options Indexes FollowSymLinks Includes
>>      AllowOverride None
>> 
>>      Order allow,deny
>>      Allow from all
>> 
>>      AddOutputFilterByType DEFLATE text/html text/plain text/xml
>> </Directory>
>> 
>> But I am getting error in my apache error.log file saying " [Thu Feb 08
>> 14:38:04 2007] [error] an unknown filter was not added: deflate".

Could you provide more information on your apache configuration please?
E.g modules loaded..

Is mod_mime loaded? Is mod_deflate loaded? What version of apache are you
using? All of these help the diagnosis.

If you could tar/gzip/zip and email me the configs im happy to have a look and 
see if
I can spot anything wrong.

>> If anybody has done this please let me know if I need to do any thing
>> more or if m I doing any thing wrong here.
>
>I'm pretty sure the Deflate you have needs capitalising also.
>
>SetOutputFilter DEFLATE
>
>Also, AddOutputFilterByType is deprecated in Apache 2.1.
>
>Try just AddOutputFilter instead if it will serve your needs.
>
>Apache Docs are your friend :
>http://httpd.apache.org/docs/2.2/mod/core.html#addoutputfilterbytype

Docs sure are your friend.

>Best not ask any more Apache questions here I would have thought.

If this is regarded as too much of a an off topic topic, reply off list if
you wish.

This is my first day back on this list after a few years away, so im not
sure how off topic, topics can get.

--
Paul De Audney
[EMAIL PROTECTED]

Linux Systems Administrator

If you need advice or a contractor shoot me an email.


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to