Greg Ames wrote:
Markus Litz wrote:

Hello,

how can i get the filename only of the requested uri? For example if "http://www.example.com/test.html"; is requestet, i only want "test.html". request_rec::filename only gives the full filename on disk.

basename(r->filename)

:)  Or portably, apr_filepath_name_get() declared in apr_lib.h

Reply via email to