Root URL-Paths


Root URL-Path Format

A URL-path is considered a Root URL-path if Root is the Default Source Type or if the URL-path begins with an alias that has a Source Type of Root. The only real difference between how Web Server/400 treats Root URL-paths and how IFS treats paths in the Root file system is that the URL-paths are always relative to the directory stored in the Document Root configuration value.

Symbolic Links in URL-paths

URL-paths themselves cannot containing symbolic links, but the files they represent in IFS can be symbolic links. The Root file system is currently the only file system that supports the creation of symbolic links. Symbolic links can, however, point to files that reside in any file system.

Root URL-Path Examples

For these examples, assume that /Samples/ is a valid directory off of Document Root, Document Root is set to /WWWServ/WebDocs/, and that Root is the Default Source Type. With this setup, each of the following requests would be handled as described.

A URL-path of /Samples/Environmental/Pinetrees.html
The Web server would return the file /WWWServ/WebDocs/Samples/Environmental/Pinetrees.html to the browser.

A URL-path of /Samples/SymLink/ProdDB
Assuming that /WWWServ/WebDocs/Samples/SymLink is a symbolic link to /qsys.lib/company.lib, the Web server would return the formatted fields of the first member of the database file /qsys.lib/company.lib/ProdDB.file to the browser.