# Run backwards through PATH_TRANSLATED to find target filename,
# then get file (relative) by stripping PATH_INFO.
my ($path, $rel) = (delete $ENV{PATH_TRANSLATED}, delete $ENV{PATH_INFO});
# Run backwards through PATH_TRANSLATED to find target filename,
# then get file (relative) by stripping PATH_INFO.
my ($path, $rel) = (delete $ENV{PATH_TRANSLATED}, delete $ENV{PATH_INFO});
- cgi.assign = (
- ".plp" => "/foo/bar/plp.cgi",
- )
+ server.modules += ("mod_cgi")
+ cgi.assign += (".plp" => "/foo/bar/plp.cgi")
+ server.indexfiles += ("index.plp")
+ static-file.exclude-extensions += (".plp")