Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

removing charset information from http-headers

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
HTTP Headers in the CGI - I have server running on my Linux box (Linux from SuSe). I have a CGI program which uses a simple HTML page to send and recieve some data. Is there a way I can configure the Apache so that it will ALSO send me the HTTP Headers

Rev Proxy and HTTP Headers - Hi, I would like to use Apache as a reverse proxy. The reverse proxy will a user before allowing access to the internal web This auth will be done using sLDAP. I am not too familiar with Apache - but I would like to gather the..

Monitoring the HTTP Request and Response headers - Is there anything out there like apache's but written in C or CPP (not Java)? .. or how would the utility tcpdump be so that it works .. you would set a utility to: .. 1._ only listen to..

Apache HTTPd Arbitrary Long HTTP Headers DoS (Exploit Code) - Hi, I would like to test whether my apache server has this I m wondering if there is anyone had tested this exploit against Apache 1.3 default install from the port in FreeBSD 5.2 Current (Tue Aug 3 20:47:39 HKT 2004 ) The..

Charset Problem - Hello, i have a html-page with this HTML PUBLIC HTML 4.01 <meta
Next:  Apache: Apache domain best practice??  
Author Message
Jan Mannoury

External


Since: Oct 23, 2007
Posts: 2



(Msg. 1) Posted: Tue Oct 23, 2007 6:59 am
Post subject: removing charset information from http-headers
Archived from groups: alt>apache>configuration (more info?)

i have migrated a webserver to a new ubuntu server with apache 2.0.55
now i have a user who has thousands of html pages made with word with
all kind of quotation marks that show up like question marks.

after some rtfming and checking the http headers i found that apache
defines her pages as utf-8. the old server didn't send any charset
information in the http headers and the pages were shown just fine.
i found that i can make a .htaccess rule to change the default charset
but i don't know what charset her pages are in.

is there a way to not send any charset information at all? that used
to work fine on the old server.

regards,
janm

 >> Stay informed about: removing charset information from http-headers 
Back to top
Login to vote
Steve Shaw

External


Since: May 20, 2006
Posts: 6



(Msg. 2) Posted: Tue Oct 23, 2007 6:57 pm
Post subject: Re: removing charset information from http-headers [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jan Mannoury wrote:
> i have migrated a webserver to a new ubuntu server with apache 2.0.55
> now i have a user who has thousands of html pages made with word with
> all kind of quotation marks that show up like question marks.
>
> after some rtfming and checking the http headers i found that apache
> defines her pages as utf-8. the old server didn't send any charset
> information in the http headers and the pages were shown just fine.
> i found that i can make a .htaccess rule to change the default charset
> but i don't know what charset her pages are in.
>
> is there a way to not send any charset information at all? that used
> to work fine on the old server.
>
> regards,
> janm

Had the same issue - and thanks, as a result of your mail i've now
solved it !!

In httpd.conf i spoted the line

AddDefaultCharset UTF-8

Changing this to what I had in my previous config

AddDefaultCharset ISO-8859-1

restarted apache

and voila ... the problem went away

Regards
Steve

 >> Stay informed about: removing charset information from http-headers 
Back to top
Login to vote
Jan Mannoury

External


Since: Oct 23, 2007
Posts: 2



(Msg. 3) Posted: Tue Oct 23, 2007 6:57 pm
Post subject: Re: removing charset information from http-headers [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 23 Oct 2007 23:26:47 +0200, Steve Shaw <s.shaw.DeleteThis@hccnet.nl>
wrote:

>Jan Mannoury wrote:
>> i have migrated a webserver to a new ubuntu server with apache 2.0.55
>> now i have a user who has thousands of html pages made with word with
>> all kind of quotation marks that show up like question marks.
>>
>> after some rtfming and checking the http headers i found that apache
>> defines her pages as utf-8. the old server didn't send any charset
>> information in the http headers and the pages were shown just fine.
>> i found that i can make a .htaccess rule to change the default charset
>> but i don't know what charset her pages are in.
>>
>> is there a way to not send any charset information at all? that used
>> to work fine on the old server.
>>
>> regards,
>> janm
>
>Had the same issue - and thanks, as a result of your mail i've now
>solved it !!
>
>In httpd.conf i spoted the line
>
>AddDefaultCharset UTF-8
>
>Changing this to what I had in my previous config
>
>AddDefaultCharset ISO-8859-1
>
>restarted apache
>
>and voila ... the problem went away

damn. why didn't i think of that. it works for me too. thanks. have a
nice day

janm
 >> Stay informed about: removing charset information from http-headers 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]