Title: Re: Witango-Talk: DefaultErrorFile Help
The structure of the ini files has not changed between T2K and W5 and the same rules apply to it. You can find the documentation on the application.ini file on page 528 of the T2K User Guide.
You need to define a PATH attribute for applications to work as this is what defines an application.
Your file should look something like this. I have added a few other settings to illustrate how it works.
[Applications]
Default=This application controls everything in the web root which is not part of another application.
MyApp=This is the application I have created in IIS
[Default]
PATH=/
CUSTOMSCOPESWITCH=off
EXTERNALSWITCH=on
FILEDELETESWITCH=off
FILEREADSWITCH=on
FILEWRITESWITCH=off
_javascript_SWITCH=on
JAVASWITCH=off
MAILSWITCH=on
PASSTHROUGHSWITCH=on
DEFAULTERRORFILE=c:\\Program Files\\Witango\\Server\\MiscFiles\\error.tml
[MyApp]
PATH=/MyApp/
CUSTOMSCOPESWITCH=on
EXTERNALSWITCH=on
FILEDELETESWITCH=on
FILEREADSWITCH=on
FILEWRITESWITCH=on
_javascript_SWITCH=on
JAVASWITCH=on
MAILSWITCH=on
PASSTHROUGHSWITCH=on
DEFAULTERRORFILE=c:\\Program Files\\Witango\\Server\\MiscFiles\\myapperror.tml
We will be releasing a Server Manager application that can be used to manage a wider range of functions in the coming weeks.
Phil
On 24/1/03 4:03 PM, "Bryan Hughes" <[EMAIL PROTECTED]> wrote:
> Trying to set up custom error pages for different applications and/or domains.
>
> I’m working on Windows2000AS Witango Server v.5 through IIS.
>
> I only see and “applications.ini” file in the Witango server configuration
> directory.
>
> I’ve modified the applications.ini file to look like the following...
>
> ===========applications.ini==========
> [Applications]
> Default=This application controls everything in the web root which is not part
> of another application.
> MyApp=This is the application I have created in IIS
>
> [Default]
>
> DEFAULTERRORFILE=<@WEBROOT>/error.tml
>
> [MyApp]
> DEFAULTERRORFILE=<@WEBROOT>/errors/error.tml
>
> ==============end===============
>
> My questions are:
>
> 1. How does Witango know which application a taf belongs to? I have set up IIS
> application settings application name MyApp for the virtual directory that
> contains the files for MyApp. Is this the place where you define which files
> belong to an application?
> 2. How would you do this for a domain? I don’t see a domians.ini file. From
> what I recall there used to be a way to set up domains in T2KAS .
> 3. Is there no longer a Witango configuration application as in T2KAS
> (http://localhost/tango2000/config/config.taf)?
> 4. When will we have FULL DOCUMENTATION for Witango 5 Application Server?
>
> Thanks for you responses.
- Witango-Talk: DefaultErrorFile Help Bryan Hughes
- Phil Wade
