Wayne,

Two things need to be done to accomplish this:

First, you need to tell Apache that you don't want it to process *.htm and 
*.html

This is accomplished by editing the file /private/etc/apache2/mime.types

Locate the line with "text/html html htm" on it and comment it out (place a # 
as the first character)

Second, you need to tell Witango that you want it to process *.htm and *.html

This is accomplished by editing the file /Applications/Witango Application 
Server 6/Configuration/clients.ini

At the bottom of the stanza [witango60_OSX_apache22_64.so] add a new line as 
such:

REGISTER_EXTNS=taf;tml;html;htm

After making those two edits, go the Sharing control panel and stop/start Web 
Sharing to have them take effect.

I've checked that this works, but have not done extensive testing, so please 
monitor your system after you make this change.

Robert


-----Original Message-----
From: Wayne Irvine [mailto:[email protected]]
Sent: Thursday, February 17, 2011 12:42 AM
To: [email protected]
Subject: Witango-Talk: Apache help

Sorry to ask Apache noob questions but I promise I have had a look around the 
various config files and search the interwebz before bothering you lot.

How do I get Witango to process HTML files (.html). I recently set this up on 
my Webstar server and use it to include header and footer files in pages.

I expect it has to do with MIME types either in the AddType declaration in 
httpd.conf or maybe the mime.types file but not real sure. I know this will be 
second nature to many of you.

Wayne Irvine

----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe witango-talk" in the body.



----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe witango-talk" in the body.

Reply via email to