httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qingjuan Gu" <qingj...@wistar.upenn.edu>
Subject Re: html file extension html vs html~
Date Thu, 06 Jun 2002 17:44:26 GMT
Thank you guys very much.

Now I can access html files. In my httpd.conf file, I put the html into 
AddType application /x-httpd-php .php

which make the problem.

Thank you very much.

Grace
---------- Original Message ----------------------------------
From: BAO RuiXian <bao.ruixian@atbusiness.com>
Reply-To: users@httpd.apache.org
Date:  Thu, 06 Jun 2002 18:52:02 +0300

>Can you find a line like the following in your mime.types?
>
>    text/html   html htm
>
>If you have this entry, the html is not a default type. Obviously, html~ is a default
type, and it behaves correctly.
>
>Regards
>
>Bao
>
>
>Qingjuan Gu wrote:
>
>> I have checked httpd.conf:
>>
>> 'DefaultType text/plain'
>>
>> it is right.
>>
>>
>> ---------- Original Message ----------------------------------
>> From: Lee Fellows <lfellows@4lane.com>
>> Reply-To: users@httpd.apache.org
>> Date:  06 Jun 2002 11:32:47 -0400
>>
>> >When I go to http://athena.wistar.upenn.edu:88/reviewer.html, I get
>> >prompted to download.  The MIME type being sent is application as
>> >opposed to text/html.  When I go to
>> >http://athena.wistar.upenn.edu:88/reviewer.html~ I get the source, not
>> >a rendered page.
>> >
>> >I downloaded and saved the reveiwer.html to compare with reviewer.html~.
>> >They are not the same file.
>> >
>> >Looks like the default handling for text/html has been changed by
>> >a configuration change in your httpd.conf file.  Has DefaultType in
>> >your httpd.conf been changed or commented out?  Mine in a default
>> >installation is 'DefaultType text/plain'.
>>
>
>--
>BAO RuiXian,  PROGRAMMER, Technologies Team, Project Services Group
>AtBusiness Communications Corp., Kaapeliaukio 1, FIN-00180 Helsinki
>tel. +358-9-2311 6674, mob. +358-50-329 6275,  fax +358-9-2311 6601
>http://www.atbusiness.com, email: bao.ruixian@atbusiness.com
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message