Name

ap_server_root_relative — make a path relative to the server root

Synopsis

char *ap_server_root_relative(pool *p, char *file)

If file is not an absolute path, append it to the server root, in the pool p. If it is absolute, simply return it (not a copy).

Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.