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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-05-2004, 12:24 PM   #1
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
Old 11-05-2004, 12:31 PM   #2
Robx
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.
Robx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-05-2004, 02:46 PM   #3
cocky
Confirmed User
 
Join Date: Jan 2004
Location: On my couch rubbing one off !
Posts: 2,044
Quote:
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
cocky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.