[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: showing shtml with apache?
On Wed, 1 Dec 1999, Stefan Rieken wrote:
> Hi,
>
> Sorry for the lots of small mails.
>
> I did the local host thing, set netscape to http://independence/ ...and
> received a directory listing.
>
> Selecting index.shtml gave me its source as text instead of a webpage.
> However browsing the original @ seul did work. So I guess it's Apache.
> Who knows the configuration for that?
you need to edit you srm.conf
and add the entry index.shtml to the DirectoryIndex line.
it sounds like you also need to uncomment (or add) the lines:
AddType text/html .shtml
AddHandler server-parsed .shtml
This should work if nothing else is broken.
David
-- ,------------------------------,
,==================| S H U N A N T I O N L I N E |=================,
| David M. Webster '------------------------------' (aka cogNiTioN) |
|===| I use Linux everyday to up my productivity - so up yours! |===|
|=================|-| PGP KeyID: 0x 45 FA C2 83 |-|=================|
| <cognition@bigfoot.com> |-|===========|-| http://www.cognite.net/ |
`===========| I walk to the beat of a different drummer |==========='