Reply to Re: Question on html command

Your name:

Reply:


Posted by Chris F.A. Johnson on 07/31/06 08:44

On 2006-07-31, Steven Saunderson wrote:
> On Mon, 31 Jul 2006 09:13:53 +0200, "Nico Schuyt" <nschuyt@hotmail.com>
> wrote:
>
>> > I don't see why "somewhere" is invalid. Try
>> > <http://phelum.com/files/somewhere>. It is a text file containing
>> > some doctypes. I admit the name might be silly but it is valid (I
>> > hope).
>>
>> In that case a file is rendered as text (.txt) I suppose :-)
>
> By default I believe. I'm sure there is an Apache option to specify the
> default type but I've never used it. There is also a facility to get
> Apache to try different extensions on the name (e.g. somewhere.htm) when
> the original name is not found.

It must be an Apache option. When I go to
<http://cfaj.freeshell.org/testing/somewhere>, it serves it up as
html, but when I use Apache on my local machine it gives me text.

The freeshell server also serves up other types of file correctly,
e.g.: <http://cfaj.freeshell.org/testing/baddrop>.

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация