|
| |
|
|
yogaboy
Posts: 377 Joined: 5/22/2004 Status: offline
|
virtual includes - 12/17/2004 8:23:20
<!--#INCLUDE VIRTUAL="../INCLUDES/ChangeAgents.txt"--> This doesn't work on my IIS box or on my webhosts IIS box - does anyone know why? It's started that "head-boiling" feeling in me again! It doesn't work with ANY of my include files, and I'm getting tired of having to put mulitple includes throughout the dir structure (which sort of goes against the idea of having them in the first place)
|
|
|
|
Nigel
Posts: 383 Joined: 7/24/2002 From: Wirral - UK Status: offline
|
RE: virtual includes - 12/17/2004 8:45:30
Some web hosts don't support virtual includes. I know my own host only supports it with dedicated servers. Nigel
_____________________________
Innerview Web Design - Virtual Tours - 360 Panoramas - Shopping carts
|
|
|
|
yogaboy
Posts: 377 Joined: 5/22/2004 Status: offline
|
RE: virtual includes - 12/17/2004 8:48:19
Cheers Nigel, I will get straight on to my web hosts!
|
|
|
|
Shirley
Posts: 3127 Joined: 1/8/1999 From: Omaha, Ne USA Status: offline
|
RE: virtual includes - 12/17/2004 10:07:17
If you are saying that it works in the same directory but does not work if it is in its own directory you may need to enable parent paths on the server
_____________________________
Everything But Cake
|
|
|
|
yogaboy
Posts: 377 Joined: 5/22/2004 Status: offline
|
RE: virtual includes - 12/17/2004 10:47:50
I know! My tree is parent/MEMBERS_AREA parent/INCLUDES I was calling the file in INCLUDES from MEMBERS_AREA I should point out, that now I can't call the includes from files in the parent. This is so strange! <!--#INCLUDE VIRTUAL="INCLUDES/ChangeAgents.txt"--> does not find the include if I use it in the parent dir, but it does work from MEMBERS_AREA...
|
|
|
|
yogaboy
Posts: 377 Joined: 5/22/2004 Status: offline
|
RE: virtual includes - 12/18/2004 11:54:03
Cool, that works. Thanks to one and all!!
|
|
|
|
aaronwiles
Posts: 200 Joined: 7/5/2004 From: Aaron Wiles Status: offline
|
RE: virtual includes - 1/1/2005 20:39:54
Your seem to be getting file & virtual includes confused. A file include is directory specific, a virtual include always starts from the home directory. E.G. www.domain.co.uk/common/includes/header.asp, would be included in page "page.asp" located in directory www.domain.co.uk/members/ as... File include: <!--#INCLUDE FILE="../common/includes/header.asp"--> Virtual include: <!--#INCLUDE VIRTUAL="common/includes/header.asp"--> I hope that now explains the differance.
_____________________________
You really never learn to swear until you get a computer.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|