The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache::AxKit::Plugin::NotFoundIfPathInfo - return 404 (NOT FOUND) if PATH_INFO is present.

SYNOPSIS

  AxAddPlugin Apache::AxKit::Plugin::NotFoundIfPathInfo

DESCRIPTION

This module is a very simple plugin for AxKit that returns NOT_FOUND if PATH_INFO has length. It is (obviously) incompatible with modules that depend on PATH_INFO. (i.E. Apache::AxKit::StyleChooser::PathInfo)

Given you have /this/is/myfile.html on your server and someone requests GET /this/is/myfile.html/bla/bla, AxKit will happily serve myfile.html and put /bla/bla in the PATH_INFO. This behaviour can get anoying under circumstances: Someone creates a loop with broken relative links and a stupid webspider starts to crawl through these...

BUGS

None known at this time.

SEE ALSO

AxKit

http://www.axkit.org/

http://www.axkitbook.com/

AUTHOR

Hansjoerg Pehofer, <hansjoerg.pehofer@uibk.ac.at>

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Hansjoerg Pehofer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.