Ronx
Sat Jul 16 02:52:31 CDT 2005
Inline
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
"Pierre" <pf@arobas.net> wrote in message
news:uo71DKUiFHA.2852@TK2MSFTNGP15.phx.gbl...
> Can you clarify for me?
>
> if i am in a subweb name logon in frontpage,
> and i ask for the page /test.asp
>
> it then refer to a page in the main web?
Correct.
> In that case what is the use on the include virtual instead of
> include file?
Include file does not allow the leading / whereas include virtual
does.
With include virtual you can use root-relative paths to accurately
pinpoint a file and use the same code snippet in any page in any
folder. With include file you must have the correct relative path,
which means the code snippet has to be tailored for each folder.
See
http://www.w3schools.com/asp/asp_incfiles.asp
> I see that /logon/logon.inc is working correctly
> If i understant the fist / refer to the root of the main web.
Correct
>
>
> Regards,
> Pierre
>
>
> Ronx a écrit dans le message
> <#PsxyaTiFHA.320@TK2MSFTNGP09.phx.gbl>...
>>Then the path is incorrect - it should be either logon.inc (without
>>any preceding / or /logon/logon.inc
>>The root of a website is never the root of a subweb of that website.
>>--
>>Ron Symonds
>>Microsoft MVP (FrontPage)
>>Reply only to group - emails will be deleted unread.
>>
>>"Pierre" <pf@arobas.net> wrote in message
>>news:%23Au2sHTiFHA.1232@TK2MSFTNGP15.phx.gbl...
>>> My root is a subweb
>>>
http://myserver/logon
>>> all the files are on the same level in logon
>>> exept logon.mdb wich is in fpdb
>>>
>>> Stefan B Rusynko a écrit dans le message ...
>>>>Check the path from the page secure.asp to logon.inc
>>>>'/logon.inc' path means the file logon.inc is in the root but your
>>>>page
>>> secure.asp is in a folder named /logon/ one level below it
>>>>- If it is really in your root try a path '../logon.inc'
>>>>
>>>>--
>>>>
>>>>_____________________________________________
>>>>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
>>>>_____________________________________________
>>>>
>>>>
>>>>"Pierre" <pf@arobas.net> wrote in message
>>> news:enGDcSLiFHA.328@tk2msftngp13.phx.gbl...
>>>>| Hi all,
>>>>|
>>>>| I have the following message
>>>>|
>>>>| Active Server Pages error 'ASP 0126'
>>>>| Include file not found
>>>>| /logon/secure.asp, line 2
>>>>| The include file '/logon.inc' was not found.
>>>>|
>>>>| but i can see the file.
>>>>|
>>>>| Strange but true
>>>>|
>>>>| Pierre
>>>>|
>>>>|
>>>>
>>>>
>>>
>>>
>>
>>
>
>