Looking at my old Snow Leopard Terascript setup ...

In your apache2 directory, look for an "others" directory (if it's not there, 
create it)

boot --> etc --> apache2 --> others -> terascript.conf

If the terascript.conf file doesn't exist, create it. Make sure permissions are 
OK for it and the "others" directory.

        IMPORTANT TO NOTE. If the name of the CURRENT apache Terascript module 
is different or in a different place (unlikely, however), you need to edit that 
info in the terascript.conf fle.

I could not find any other spot where tcf or taf was referenced in the entire 
apache directory. Try this (restarting Apache of course) and see if it works...


The entire contents of the file should look like this.

LoadModule TeraScriptModule "/Applications/Terascript Server 
6/terascript60_OSX_apache22_64,so"
TeraScriptModule terascript60_OSX_appache22_64.so



On Jul 16, 2012, at 1:07 AM, Wayne Irvine wrote:

> 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.

Reply via email to