Du skal enten skrive den fulde sti (ikke relative sti) eller ændre den sikkerhedsindstilling i din nye webserver som gør at du ikke får lov til at bruge "../"
Enabling Parent Paths Enabling parent paths specifies whether an ASP page allows paths relative to the current directory (using the ..\ notation). If set to true, this property constitutes a potential security risk, because an include path could access critical or confidential files outside the root directory of the application.
Parent paths are no longer enabled by default. This affects your application if it has a Web page that contains the #include server-side include directive and uses ".." notation to refer to a parent directory. Enabling parent paths corresponds to the metabase setting, AspEnableParentPaths.
Note In IIS 6.0, parent paths are not enabled by default.
To enable parent paths
In IIS Manager, expand the local computer, right-click the starting-point directory of the application you want to configure, and then click Properties. Click the Directory tab, and then click Configuration. Click the Options tab. In the Application configuration section, select the Enable parent paths check box. Click OK.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.