Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Include problem

Status
Not open for further replies.

Floodster

Technical User
Joined
Jan 28, 2005
Messages
204
My site is running perfectly on my test machine but when uploaded I'm getting some errors (I have already posted some of them in this forum) but now I'm getting a new one which is;
Code:
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/includes/includes.asp, line 1

The Include file '../includes/gbl_functions.asp' cannot contain '..' to indicate the parent directory.

I'm a bit unsure as to if I need to change the way my include files are used on a live server. The code in my DW pages is;
Code:
<!--#include file="../includes/includes.asp" -->

Thanks
 
I think I have managed to fix it, I have changed all the includes to 'virtual' & this now seems to have cured it.
If this was the wrong thing to do could you let me know.

Cheers.
 
nope that would be the best way.

Many hosts disable the use of parent paths (disabled as default in Win2k3) as it can be a security risk

Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top