The path to the include in the KB article is based on the sample which
Requires a Subweb named logon under the root web as in
http://http://www.dickbrom.com/logon/
That means you should have created a subweb named logon (not a folder
named logon)
- that would have created the required _private folder in the new subweb
That would make the path from a file in your Root web to the subweb
_private folder correct as: /logon/_private/logon.inc
Re read the article to identify which files belong in your root web
http://www.dickbrom.com and which one belong in the Subweb
http://www.dickbrom.com/logon/
Root web - the pages you are trying to protect plus all other pages in the
article except:
the mdb and .inc (in the logon subweb _private folder), and logon .asp in
the logon subweb root
|
| Thanks Stephan
|
| I called the hosting company and they confirmed they are running a
| windows server and support FP Extensions and ASP programs.
|
| I deleted "logon_page" per your reply.
|
| The second line in the logon.asp contains the following include
statement
| (see below).
| That's why I set up _private in the logon folder.
|
| <!--#include virtual="/logon/_private/logon.inc"-->
|
| I also tried copying the logon.inc and the logon.mdb files into the
_private
| folder in the root directory, but this had no effect.
|
| I also noticed that I have Global.asa in the logon folder.
| Is the right place for it??
|
| The URL is
http://www.dickbrom.com .
| testuser password
|
| I actually get up to the "enter username and password " screen but it
fails
| there.
| The logon.mdb contains one entry as follows
| The UID is testuser and the PASSWORD is password .
|
| I have been working on this for three or four days and would appreciate
any
| help
|
| Dick Bromberg
|
|
|
|
| | > If you created the files in the folders according to the instructions
they
| > are in the right place
| > - will only work on a Windows server (supporting ASP) running under
the FP
| > Server Extensions (so you can work directly on the
| > server)
| >
| > A FP web already has a _private folder w/ write permissions
| > - what do you mean you have set up one
| >
| > What logon_page.htm page (you only need the .asp pages listed)
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| >
http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > | > | I am using frontpage 2000 and trying to set up a website where a
| > username
| > | and password are required to open the page.
| > |
| > | I looked it up on the Microsoft Knowledge base
| > | (
http://support.microsoft.com/kb/321503 ) but I am having trouble
making
| > it
| > | work.
| > |
| > | I set up an MS Access database called :logon.mdb" and entered a
couple
| > of
| > | users in it.
| > |
| > | I think I have the folders set up wrong.
| > |
| > | Could someone please take a look and get back to me .
| > |
| > | The folders are as follows.
| > |
| > | In the Root folder I set up a folder called "logon"
| > | In this folder I have the following ASP files :
| > | default.asp
| > | global.asp
| > | logon.asp
| > | secure.asp
| > | unsecure.asp
| > | default.asp
| > |
| > | In the Root Folder I also setup a folder called "_private"
| > | in this folder I have :
| > | logon.inc
| > | logon.mdb
| > |
| > | Dick Bromberg
| > | P.S. Which folder should I put the logon_page.htm file into ?
| > |
| > |
| > |
| > |
| > |
| > |
| >
| >
|
|