home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 104 
 winserver.support@winserver.com to All 
 Re: [WINServer] Error & Template files 
 26 Nov 18 08:45:58 
 
Newsgroups: wclistserve.win.server
Received: by winserver.com (Wildcat! SMTP Router v7.0.454.6)
          for WINServer@winserver.com; Mon, 26 Nov 2018 09:45:56 -0500
Received: from [192.168.1.68] ([99.121.5.8])
          by winserver.com (Wildcat! SMTP v7.0.454.6) with ESMTP
          id 2240489822.1.2068; Mon, 26 Nov 2018 09:45:55 -0500
Message-ID: <5BFC0725.40505@winserver.com>
Date: Mon, 26 Nov 2018 09:45:57 -0500
From: Hector Santos 
Organization: Santronics Software, Inc
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101
Thunderbird/24.8.1
MIME-Version: 1.0
To: WINServer@winserver.com
Subject: Re: [WINServer] Error & Template files
References:
 <5BFB2658.8000003@winserver.com> <5BFB2BFA.1030108@winserver.com>
<5BFC00AE.8090109@winserver.com>
In-Reply-To: <5BFC00AE.8090109@winserver.com>
Content-Type: multipart/mixed; boundary="------------010601010901030402030005"

Small follow up.

If there was a reason you really needed to use the extension .HTM(L), then
you have to remove the stock http\errors\notfound.wct.

The reasons is this:

A URL page could not be found, so wcWEB starts to do:

- check for http\errors\notfound.wct
- if found, check for a http\custom\notfound.wct
- if not found, check for http\errors\notfound.htm
- if found, check for a http\custom\notfound.htm
- if not found, use internal not found message.

Thats the sequence.


On 11/26/2018 9:18 AM, Hector Santos wrote:
> On 11/26/2018 7:56 AM, David King wrote:
>>
>>
>> OK I have a file withing the \errors\custom directory called
>> notfound.html which should, I believe return for a page not found.
>>
>> When I enter: http://www.military.world/errors/custom/notfound.html
>> the page displays correctly.
>> The local directory location for this is d:\web\Military
>> World\errors\custom\notfound.html
>> The Virtual Domain points to its public director as d:\web\Military
>> World\
>>
>> However if I enter http://www.military.world/nonexistantpage.html
>> which is a non-existent page I get the standard wildcat Error 404
>> page rather than my custom page.
>> I accept that I maybe doing something wrong but I am confused as to
>> what ?
>
> Hi David,
>
> This is a very good support question. I will answer in the mailing
> list since it will benefit others.
>
> Ok, as of 7.0.454.4, these are stock files in the http\errors\ subfolder
>
> - 2012/06/11 03:14:04 |     3922 | http\errors\readme_errors.txt
> - 2012/05/29 02:54:41 |     2905 | http\errors\errors.wct
> - 2008/12/25 11:45:32 |      772 | http\errors\NoClientAccess.wct
> - 2008/09/24 21:15:48 |      473 | http\errors\NotFound.wct
> - 2002/07/12 06:34:58 |      600 | http\errors\NotValidated.htm
> - 2007/03/02 14:25:30 |     2415 | http\errors\NotValidated.wct
> - 2008/01/07 08:28:40 |     1802 | http\errors\passwordchange.wct
> - 2009/03/14 19:35:18 |       80 | http\errors\SignupAlreadyDone.wct
> - 2002/07/12 04:27:38 |      208 | http\errors\SignupDupeAccount.htm
> - 2009/01/17 06:40:24 |     1580 | http\errors\UserNotLoggedIn.wct
> - 2012/06/11 03:14:31 |      144 | http\errors\verinfo.dat
>
> You made a copy of your default wcat HTTP\template and HTTP\Errors
> into your VDG
>
>      d:\web\Military World\errors\
>
> The AUP Virtual Domains help explains what needs to be copied to a new
> VDG
>
>
> http://www.winserver.com/public/aup/Wildcat-Create-Virtual-Domain.htm
>
> So now you want to customize the http\errors\notfound.wct, so you created
>
>      d:\web\Military World\errors\custom\notfound.html
>
> and it doesn't work for you, you don't see your custom web page.
>
> The solution:
>
> The custom replacement is not NotFound.html but NotFound.wct, so
> rename it notfound.wct and you will see it work.  The trick is match
> the file name of the stock template you are customizing.  So in this
> case, you want to replace notfound.wct, not notfound.html.
>
> Hope this helps
>
>

-- 
Hector, Engineering & Technical Support
Santronics Software, Inc.
http://www.santronics.com (sales)
http://www.winserver.com (support)
http://www.winserver.com/AupInfo (Online AUP Help)
Office: 305-248-3204

begin:vcard 
fn:Hector Santos 
n:Santos;Hector 
email;internet:winserver.support@winserver.com 
tel;work:305-248-3204 
version:2.1 
end:vcard 
 
--- Platinum Xpress/Win/WINServer v3.1
 * Origin: Prison Board BBS Mesquite Tx  //telnet.RDFIG.NET www. (1:124/5013)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca