Yes, that WAS the client solution. We do have a working setup on a SL server; I 
can ask our server admin how that is set up. OS X server apache can be tricky.


On Jul 16, 2012, at 11:06 AM, Robert Shubert wrote:

> Wayne,
>
> Is your server OSX Server? I ask because Apache is installed differently on 
> the Server vs the Client OSX, but file should still be there some where.
>
> You can try “locate mime.types” in a console and see if where it is.
>
> Robert
>
> From: Wayne Irvine [mailto:[email protected]]
> Sent: Monday, July 16, 2012 1:07 AM
> To: [email protected]
> Subject: TeraScript-Talk: This old chestnut
>
> A while ago I asked about making Apache (OSX) use Terascript to interpret 
> HTML. Robert very kindly gave me comprehensive instructions (see below) and 
> this woredk a treat on my development server. Unfortunately my production 
> server is running OSX Snow Leopard. I can't even find a mime.types file in 
> this set up.
>
> Mime types can be set up through the GUI but I have delete (rather than 
> commented) the "text/html" line and restarted Apache but to no avail.
>
> Is there anyone out there with a bit of Snow Leopard/Apache experience who 
> can offer me some advice (other than upgrade to Lion ;) )
>
> Wayne Irvine
> [email protected]
>
>
>
> On 18/02/2011, at 6:39 AM, Robert Shubert wrote:
>
>
> 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.
>
>
>
> To unsubscribe from this list, please send an email to 
> [email protected] with "unsubscribe terascript-talk" in the body.
>
> To unsubscribe from this list, please send an email to 
> [email protected] with "unsubscribe terascript-talk" in the body.




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

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

Reply via email to