![]() |
ASP on Linux question.
I'm running asp on Linux via Chilisoft. I just moved over all my domains and the only problem I am encountering is with server side includes where I'm including a file from a different directory. On windows the syntax is simply:
<!-- #INCLUDE virtual="/includes/header.asp" --> or <!-- #INCLUDE file="../includes/header.asp" --> this won't work since I switched to Linux. I get a: Active Server Pages error 'ASP 0126' Include file not found /ourschool/overview.asp, line 2 The include file '/includes/header.asp' was not found. This works fine if the include "header.asp" is in the same directory or a sub-directory but not when its in a separate directory. Do I have the syntax wrong or could it be a permissions problem or what? |
That sounds like a weird and frustrating problem.
First, I'd double check to make sure that the file is actually there. Sort of like checking to make sure that the monitor is plugged in before opening the computer case, it never hurts to double check the exact path as stated in your include. Next, I think that you're right, something could be off with the permissions. The only time that I have come across a problem where the file was in the right spot and the include didn't work with an ASP page was on a Windows 2K box. I had to update the service pack and then it worked. If I remember correctly, 2k didn't close the file stream properly. - - But you're working on Chilisoft / Linux so that shouldn't matter. Post back with your efforts - it's an interesting problem. |
Quote:
|
All times are GMT -7. The time now is 10:33 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123