---
name: "ns_url2file"
section: "3"
platform: "linux"
package: "aolserver4"
version: "4.0.10-7"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/ns_url2file"
---

# ns\_url2file(3)

commands

```

```

## NAME

ns\_url2file - commands

## SYNOPSIS

**ns\_url2file** *URL*

```

```

## DESCRIPTION

*This function returns the file or directory corresponding to the specified URL. The file returned is located in the "pages" directory on the current virtual server.*

## EXAMPLE

*This is especially useful when using the ns\_adp\_include command.*

*\<% ns\_adp\_include \[ns\_url2file /include/myfile.inc\] %\>*

## SEE ALSO

*ns\_adp\_include(n)*

## KEYWORDS
