View Single Post
Old 11-05-2004, 12:24 PM  
cocky
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
cocky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote