server-side includes in a managed dedicated server
Posted on 2014-02-02
My (ASP-JVScript) pages worked fine at a shared hosting environment with lines such as:
<!--#include file="directoryAtRoot/myfile.asp" -->
<!--#include file="../directoryAtRoot/myfile.asp" -->
But now, that I want to migrate to a managed dedicated server (at GoDaddy), the first option still works fine, but the second one doesn´t. (It does not help changing "file" to "virtual", by the way.)
I´ve tried to put the whole path (obtained through Server.MapPath(".")), but it was in vain... please help me on how to proceed!