Date:  11/10/2005 12:13:33 PM Msg ID:  002745
From:  FoxWeb Support Thread:  002742
Subject:  Re: FWX as default document
Are you saying that the information that needs to be returned is static, but you just want to prevent caching?  If this is the case, then using a FoxWeb script will not help.  The way to work around this is to prevent browsers from caching the content.  One way to do this is to insert META tags in the <head> section of main.htm:
 
<meta http-equiv="Expires" content="Sun, 22 Mar 1998 12:00:00 GMT">
<meta http-equiv="Pragma" content="no-cache;>
 

FoxWeb Support Team
support@foxweb.com email

Sent by Daniel Diaz on 11/10/2005 11:54:02 AM:
Oops! I forgot to say that my webserver is working fine!
I had a main.htm page that work well, but, in some case, webexplorers don't refresh the changes that I made on it.
So, I want a FoxWeb script that return always the main.htm content.
I can call my script by name, but if I write only the URL of my site, I see HTTP Error 403.
Of course, IIS had as default document main.fwx
 
So,
main.fwx is the "default document",
http://myserver.com/main.fwx work very well,
http://myserver.com/ not work at all (HTTP Error 403)
 
Thanks in advance
 
Sent by FoxWeb Support on 11/10/2005 10:40:34 AM:
Error 403 Access Denied, means that you do not have rights to the requested URL.  We will need more information in order to help you:
  • Location of Web Root
  • Location of FoxWeb Program Root
  • Location of main.fwx
  • URL that you use to call main.fwx
Also, please try the following and let us know the results:
 
Let's assume that the URL that is failing with a 403 error is  http://myserver.com/.

FoxWeb Support Team
support@foxweb.com email

Sent by Daniel Diaz on 11/09/2005 11:54:12 AM:
Hi, FoxWeb Support
 
I've a little problem:
I setup IIS in order to set 'main.fwx' as default document; but, when I try to access my website, I get HTTP Error 403
 
Thanks in advance.
 
Windows 2000 Server SP4, Visual FoxPro 6 SP5, FoxWeb 1.29c