ASP on Linux question.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cocky
    Confirmed User
    • Jan 2004
    • 2044

    #1

    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
  • Robx
    Confirmed User
    • Nov 2004
    • 357

    #2
    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.

    Contact Us About Getting Your Paysites Exposed To Millions Of People On The Peer To Peer Networks!
    ICQ 124-249-781

    Comment

    • cocky
      Confirmed User
      • Jan 2004
      • 2044

      #3
      Originally posted by Robx
      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.
      Thanks. looks like it is a permissions problem.
      The Best Porn Site

      Comment

      Working...