![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jan 2004
Location: On my couch rubbing one off !
Posts: 2,044
|
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?
__________________
The Best Porn Site |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Nov 2004
Location: The middle of nowhere
Posts: 357
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Jan 2004
Location: On my couch rubbing one off !
Posts: 2,044
|
Quote:
__________________
The Best Porn Site |
|
![]() |
![]() ![]() ![]() ![]() ![]() |